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

gset_new_restrict_gset(gset, filt_gset, inverse = F, desc)

Arguments

gset

a gene set object

filt_gset

gset of genes to filter by

inverse

if true, omit the genes in the genes parameter

desc

description of the new gene set