Filter mem multienrichment object by Gene names

filter_mem_genes(mem, includeGenes = NULL, ...)

Arguments

mem

list object returned by multiEnrichMap()

includeGenes

character vector of genes, matched with rownames(mem$memIM)

...

additional arguments are ignored

Value

list object of mem data content

Details

This is intended to be an internal function. It simply takes a character vector of gene names, and subsets incidence matrix data in the mem object. It performs no other filtering. This function is called by subset_mem(), the recommended method to subset a mem object.