powered by
Process through a vector of species names to obtain taxonomic data
getNCBI(species, host = TRUE)
a data.frame with nrow == length(species)
a vector of species names
(boolean) affects column naming (nice to keep host and pathogen separate)
if (FALSE) { mouse <- getNCBI("Peromyscus leucopus") worm <- getNCBI("Ascaris lumbricoides", host=FALSE) }
Run the code above in your browser using DataLab