Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/createGeneSetCommands.R
Create the commands required to populate FeatureSetTables with commonly used gene sets.
1 2 3 4 5 | createGeneSetCommands(
collections = c("GO", "KEGG"),
organism = "org.Hs.eg.db",
identifier = "ENTREZID"
)
|
collections |
Character vectors specifying the gene set collections of interest. |
organism |
String containing the org.*.eg.db package to use to extract mappings of gene sets to gene IDs. |
identifier |
String specifying the identifier to use to extract IDs for the organism package. |
GO terms are extracted using the "GOALL"
mode,
which extracts both direct and indirect children of each term.
A description for each GO term is extracted using the GO.db package.
Mappings of genes to KEGG pathway are extracted from the organism package using the "PATH"
term.
Unfortunately, this is not up to date due to the licensing around KEGG terms.
Descriptions for each pathway are extracted from http://rest.kegg.jp/list/pathway.
A list of character vectors describing how to create collections and retrieve gene sets.
These can be used as arguments for the FeatureSetTable
constructor.
Aaron Lun
FeatureSetTable, where the commands are intended for use.
setFeatureSetCommands
, to use the commands globally.
1 2 3 | out <- createGeneSetCommands()
cat(out$CreateCollections['GO'], "\n")
cat(out$RetrieveSet['GO'], "\n")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.