transPhyloKEGG2NCBI: Get NCBI Taxonomy ID From KEGG ID

Description Usage Arguments Details Value Author(s) Examples

Description

KEGG Database Additional API - Get the NCBI taxonomy ID from a given KEGG ID

Usage

1
transPhyloKEGG2NCBI(specIDs, n = 1)

Arguments

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.

Details

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 ————————-

Value

The corresponding NCBI Taxonomy ID in character vector.

Author(s)

Yulong Niu niuylscu@gmail.com

Examples

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)

YulongNiu/KEGG_API documentation built on May 10, 2019, 1:12 a.m.