View source: R/GeneSetAnalysisGO.R
RenameGO | R Documentation |
Converts GO or Reactome IDs to their respective full geneset or pathway names.
RenameGO(term, add_id = T, add_n_gene = T, spe = getOption("spe"))
RenameReactome(term, add_id = T, add_n_gene = T, spe = getOption("spe"))
term |
GO/Reactome IDs, which can be either a character vector or a matrix (with IDs in rownames). |
add_id |
Logical: Should the IDs be displayed? Default: TRUE. |
add_n_gene |
Logical: Should the number of genes in each geneset be displayed? Default: TRUE. |
spe |
Species, either 'human' or 'mouse'. Default: getOption("spe"). |
For more examples, see GeneSetAnalysis()
.
Returns either a character vector or a matrix, depending on the input.
library(SeuratExtend)
RenameGO(c("GO:0002376","GO:0050896"), spe = "human")
RenameReactome(c("R-HSA-109582","R-HSA-112316"), spe = "human")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.