Description Usage Arguments Value Examples
Reorganize associations table in a list
1 | assoc2list(gene, regionAssoc)
|
gene |
A string; the name of an expressed gene |
regionAssoc |
A data.frame with the associations between regulatory regions and expressed genes, and with colnames = c("REGULATORY_REGION", "EXPRESSED_REGION") |
A list of data frames, each of which has the same structure of the param regionAssoc, except that contains the information relative to one expressed gene
1 2 3 4 5 6 | if (interactive()) {
data(regionAssoc)
expressedRegions <- as.list(as.vector(unique(regionAssoc$EXPRESSED_REGION)))
gene <- expressedRegions[[1]]
assocList <- assoc2list(gene, regionAssoc)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.