Learn R Programming

MetamapsDB (version 0.0.2)

taxnam.sql: taxname.sql

Description

Faster way of querying the taxid names using structured SQL then querying the graphDB. Downloads a copy of NCBI's taxdump.tar.gz from ftp.ncbi.nlm.nih.gov/pub/taxonomy/taxdump.tar.gz and builds a taxid, name, rank table in sqlite3

Usage

taxnam.sql(taxids, byID = TRUE, taxrank = "genus")

Arguments

taxids

vector of integers/name representing the taxa of interest

byID

search by ID

taxrank

any of the common taxonomic ranks eg. genus

Examples

Run this code
# NOT RUN {
 taxnam.sql(287)
# }

Run the code above in your browser using DataLab