transPhyloKEGG2NCBI: Get NCBI Taxonomy ID From KEGG ID

Description Usage Arguments Details Value Author(s) Examples

View source: R/getKEGGAdd.R

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 [email protected]

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 June 3, 2017, 10:45 a.m.