Description Usage Arguments Details Value Author(s) Examples
KEGG Database Additional API - Get the NCBI taxonomy ID from a given KEGG ID
1 | transPhyloKEGG2NCBI(specIDs, n = 1)
|
specIDs |
A vector of KEGG species IDs, for example c('hsa', 'eco'). |
n |
The number of CPUs or processors, and the default value is 1. |
NCBI taxonomy ID is used as unique ID accoss KEGG and BioCyc databases. This functions is used to get the corresponding NCBI Taxonomy ID from KEGG.
————————- I need to change it using KEGG API ————————-
The corresponding NCBI Taxonomy ID in character vector.
Yulong Niu niuylscu@gmail.com
1 2 3 4 5 6 7 8 9 | ## get human and Ecoli NCBI taxonomy ID with 2 threads
transPhyloKEGG2NCBI(c('hsa', 'eco', 'ath', 'smu'), n = 2)
## Not run:
## transfer all KEGG species ID to NCBI taxonomy ID
wKEGGSpe <- getKEGGPhylo(whole = TRUE)
wNCBISpe <- transPhyloKEGG2NCBI(wKEGGSpe[, 2])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.