View source: R/kegg.species.code.R
kegg.species.code | R Documentation |
This function maps species name to KEGG code.
kegg.species.code(species = "hsa", na.rm = FALSE, code.only = TRUE)
species |
character, either the KEGG code, scientific name or the common name of the target species. Default species="hsa", it is equivalent to use either "Homo sapiens" (scientific name) or "human" (common name). |
na.rm |
logical, should unmapped entris be removed. Default na.rm = FALSE. |
code.only |
logical, whether to extract KEGG species code only or with gene ID usage info too. Default , code.only = TRUE. |
a character vector of mapped KEGG code of species.
Weijun Luo <luo_weijun@yahoo.com>
Luo, W. and Brouwer, C., Pathview: an R/Bioconductor package for pathway based data integration and visualization. Bioinformatics, 2013, 29(14): 1830-1831, doi: 10.1093/bioinformatics/btt285
korg
the species and KEGG code mapping data,
cpd2kegg
etc the auxillary compound ID mappers,
download.kegg
the downloader function.
species=c("ptr", "Mus musculus", "dog", "happ")
kcode=kegg.species.code(species = species, na.rm = FALSE)
print(kcode)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.