Description Usage Arguments Value Examples
These methods match a character vector of gene ids to the members of a GeneSet, GeneSetCollection or CMAPCollection and return the match indices.
1 2 3 4 5 6 7 8 | ## S4 method for signature 'CMAPCollection,character'
geneIndex(gene.sets,gene.ids,remove.empty=TRUE)
## S4 method for signature 'GeneSetCollection,character'
geneIndex(gene.sets,gene.ids,remove.empty=TRUE)
## S4 method for signature 'GeneSet,character'
geneIndex(gene.sets,gene.ids,remove.empty=TRUE)
|
gene.sets |
A |
gene.ids |
A character string of gene identifiers whose position (if any) in the 'gene.sets' is to be determined. |
remove.empty |
Logical parameter specifying whether gene sets without any matching gene.ids should be removed from the output. |
An integer vector or (if a collection was searched) a list of integer vectors with the matching positions of gene.ids in the gene.sets.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.