View source: R/filterGeneSets.R
filterGeneSets | R Documentation |
The 'filterGeneSets' function filters gene sets by their sizes, and filters out genes not in the candidate list.
filterGeneSets(geneSetList, candidateGenes, min.size = 25, max.size = 500)
geneSetList |
A gene set collection stored in a list. |
candidateGenes |
A character vector of all genes to be considered. |
min.size |
Minimum number of genes to keep a gene set. Cannot be smaller than 2. |
max.size |
Maximum number of genes to keep a gene set. |
Filtered list of gene sets. This output can be used to construct gene set edge groups with the 'getGeneSetEdgeGroup' function.
## NOT RUN # filterGeneSets(gscv7.0$kegg, colnames(ahba), min.size = 5, max.size = Inf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.