Learn R Programming

insectDisease (version 1.2.2)

getNCBI: Get NCBI taxonomy data

Description

Process through a vector of species names to obtain taxonomic data

Usage

getNCBI(species, host = TRUE)

Value

a data.frame with nrow == length(species)

Arguments

species

a vector of species names

host

(boolean) affects column naming (nice to keep host and pathogen separate)

Examples

Run this code
 if (FALSE) {
  mouse <- getNCBI("Peromyscus leucopus")
  worm  <- getNCBI("Ascaris lumbricoides", host=FALSE)
 }

Run the code above in your browser using DataLab