filterGS | R Documentation |
Filter a data frame or vector by genes belonging to a gene set
filterGS(genes, gs, mset = "all")
showModule(x, genes, gs, mset = "all", extra = NULL)
genes |
a character vector with gene IDs |
gs |
a character vector corresponding to the IDs of the gene sets to be shown |
mset |
Module set to use; see "tmodUtest" for details |
x |
a data frame or a vector |
extra |
no longer used. |
filterGS filters a vector of gene IDs based on whether the IDs belong to a given set of gene sets, returning a logical vector.
The showModule function is deprecated and will be removed in future.
filterGS returns a logical vector of length equal to genes, with TRUE indicating that the given gene is a member of the gene sets in 'gs'.
data(Egambia)
## LI.M127 – type I interferon response
sel <- filterGS("LI.M127", Egambia$GENE_SYMBOL)
head(Egambia[sel, ])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.