getNCBI {insectDisease}R Documentation

Get NCBI taxonomy data

Description

Process through a vector of species names to obtain taxonomic data

Usage

getNCBI(species, host = TRUE)

Arguments

species

a vector of species names

host

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

Value

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

Examples

 ## Not run: 
  mouse <- getNCBI("Peromyscus leucopus")
  worm  <- getNCBI("Ascaris lumbricoides", host=FALSE)
 
## End(Not run)

[Package insectDisease version 1.2.2 Index]