getMsigOrganism | R Documentation |
Since both Human and Mouse MSigDB collections are hosted in this package, this function infers the type of organism represented in a gene set collection based on the gene IDs present. If not all gene IDs belong to the same organism, the organism with more than 50% gene IDs present in the collection is returned. In any other case, the function returns an error.
getMsigOrganism(gsc, idType)
gsc |
a GeneSetCollection object, containing MSigDB genesets in the form of GeneSet objects. |
idType |
a GSEABase::SymbolIdentifier or GSEABASE::EntrezIdentifier
object, representing the ID type inferred from the |
a character, either "mm" (representing Mus musculus - mouse) or "hs" (representing Homo sapiens - human).
gsc <- getMsigdb()
id <- getMsigIdType(gsc)
getMsigOrganism(gsc, id)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.