Description Usage Arguments Details Value Author(s) References Examples
KEGG Database API - Get species KEGG/NCBI ID
1 | getKEGGPhylo(speList, speType = "KEGG", whole = FALSE)
|
speList |
The species list that is a vector like "c('hsa', 'eco')". The input "speList" should be consistent with the parameter "speType". |
speType |
It supports five types: "KEGG", "Tnum", "regexpr", and "phylo". KEGG type is a three or four letters, for exmaple "hsa" is the KEGG ID for Homo sapiens, while the corresponding T number is "T01001". The "regexpr" is used for regulare expression search with the Latin name ("Escherichia coli"), sub-species name ("K-12 MG1655"), and common name ("human"). The "phylo" uses phylogentic orders for search, and it supports "Domain" (either "Eukaryotes" or "Prokaryotes"), "Kingdom" ("Animals"), "phylum" ("Vertebrates"), and "class" ("Mammals"). But it does not support mixed "KEGG". Attention: Mutiple KEGG species ID may correspond to one taxonomy ID, for exmaple "lph" and "lpo" to "91891" |
whole |
Whether or not get the whole KEGG species list, and the default value is FALSE. |
Get the phylogenetic information of given species. It supports both batch input and regular expression search.
Matrix of species information.
Yulong Niu niuylscu@gmail.com
1 2 3 4 5 6 7 8 | ## search species list from KEGG ID
getKEGGPhylo(c('hsa', 'eco'))
## search species whose names include 'Escherichia coli'
getKEGGPhylo('Escherichia coli', speType = 'regexpr')
## search species whose class is 'Mammals'
getKEGGPhylo('Mammals', speType = 'phylo')
## get whole KEGG species information table
getKEGGPhylo(whole = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.