getMsigIdType | R Documentation |
The gene identifier (Symbol or Entrez ID) of a gene set collection is inferred from the IDs present in the data. A collection should ideally store gene sets using a single identifier type. This function returns the identifier type (either SymbolIdentifier or EntrezIdentifier) of the collection. It returns an error if the identifier is neither of these.
getMsigIdType(gsc)
gsc |
a GeneSetCollection object, containing MSigDB genesets in the form of GeneSet objects. |
a GSEABase::SymbolIdentifier or GSEABASE::EntrezIdentifier object, specifying the gene identifier type (gene symbols or Entrez IDs respectively).
gsc <- getMsigdb()
id <- getMsigIdType(gsc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.