subsetCollection | R Documentation |
The molecular signatures database (MSigDB) is composed of collections and sub-collection. Many analyses (e.g. gene-set enrichment using limma::fry) are best carried out within specific collections rather than across the entire database of signatures. This function allows subsetting of MSigDB data objects within this package using collection and sub-collection types.
subsetCollection(gsc, collection = c(), subcollection = c())
gsc |
a GeneSetCollection object, containing MSigDB genesets in the form of GeneSet objects. |
collection |
a character, stating the collection(s) to be retrieved. The
collection(s) must be one from the |
subcollection |
a character, stating the sub-collection(s) to be
retrieved. The sub-collection(s) must be one from the
|
a GeneSetCollection object, containing gene sets belonging to the queries collection and/or sub-collection.
gsc = getMsigdb('hs', 'SYM')
subsetCollection(gsc, collection = "h")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.