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(KEGGID, n = 4)

Arguments

KEGGID

The KEGG support multiple species ID, for example c('hsa', 'eco').

n

The number of CPUs or processors, and the default value is 4.

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.

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_BioCyc_API documentation built on May 10, 2019, 1:13 a.m.