powered by
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)
showModule(x, genes, gs, mset = "all", extra = NULL)
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`.
a character vector with gene IDs
a character vector corresponding to the IDs of the gene sets to be shown
Module set to use; see "tmodUtest" for details
a data frame or a vector
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.
data(Egambia) ## LI.M127 – type I interferon response sel <- filterGS("LI.M127", Egambia$GENE_SYMBOL) head(Egambia[sel, ])
Run the code above in your browser using DataLab