Description Usage Arguments Value Author(s) See Also Examples
This function retrieves the size of each gene in the gene set and returns a table specifying the number of genes of each size.
1 | getGeneSetComposition(geneSnpCounts, geneSet)
|
geneSnpCounts |
A list of gene sizes (number of SNPs), as created with the function |
geneSet |
A vector of gene IDs. |
Returns a table specifying the number of genes of each size.
Michael Mooney <mooneymi@ohsu.edu>
1 2 3 4 5 6 7 | data(sampleGSA)
# Get gene sizes, and bin genes by size
snpCounts = getGeneSizes(snpMap)
# Get the composition of the target pathway (gene set)
gsComp = getGeneSetComposition(snpCounts, pathways[[1]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.