getCycPhylo: Get species from BioCyc

Description Usage Arguments Details Value Author(s) Examples

Description

BioCyc Database API - Get species information from BioCyc.

Usage

1
getCycPhylo(speList, speType = "BioCyc", whole = FALSE, n = 2)

Arguments

speList

A character vector contains species list like 'c("HUMAN", "ECOLI", "ZMOB579138")'. It should be consistent with the parameter 'speType'.

speType

A string "BioCyc" or "regexpr". "BioCyc" means it is the BioCyc species ID, for example "HUMAN" is the BioCyc ID for the Homo sapiens.The "regexpr" is used for regulare expression search with the Latin name for example "Escherichia coli".

whole

A logic whether or not get the whole BioCyc species list, and the default value is FALSE.

n

A integer refers to the number of cores.

Details

Get the BioCyc species information including the BioCyc species ID and the Latin name.

Value

A tbl_df object contains BioCycID, Latin name, and version.

Author(s)

Yulong Niu yulong.niu@hotmail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## search species list from BioCyc ID
getCycPhylo(c('HUMAN', 'ECOLI', 'ZMOB579138'), speType = 'BioCyc')

## search species whose names include 'Escherichia coli'
getCycPhylo('Escherichia coli', speType = 'regexpr')

## Not run: 
## get whole BioCyc species information table
getCycPhylo(whole = TRUE)
## End(Not run)

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