Filter by genes belonging to a gene set from a data frame
Filter a data frame or vector by genes belonging to a gene set
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 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`.
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, ]) #>  GENE_SYMBOL GENE_NAME EG NID NID NID #>  NID NID NID NID NID NID #>  NID NID NID NID NID NID #>  TB TB TB TB TB TB #>  TB TB TB TB TB TB #>  TB TB TB #> <0 rows> (or 0-length row.names)