Generate a new gene set from an existing one, filtered by a list of genes

gset_new_restrict_nms(gset, genes, inverse = F, desc)

Arguments

gset

a gene set object

genes

names of genes to filter by

inverse

if true, omit the genes in the genes parameter

desc

description of the new gene set