Description Usage Arguments Details Value Author(s) References See Also Examples
Search the Entrez taxonomy database at NCBI
1 | ncbiTaxonomy(term, summary=TRUE)
|
term |
either a valid Entrez search term or a vector of taxonomy Ids or names |
summary |
return results using Esummary (default) or Efetch |
This function uses either Esummary or Efetch to return taxonomy data from NCBI. The Efetch XML include parent ids and lineage tags not found in Esummary XML. The term may be also be a vector of taxonomy Ids (joined using a comma) or taxonomy names (joined using "OR").
a data.frame
Chris Stubben
NCBI taxonomy database http://www.ncbi.nlm.nih.gov/sites/entrez?db=taxonomy
einfo
for a list of fields in the taxonomy database.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
ncbiTaxonomy("Yersinia pestis")
ncbiTaxonomy("Yersinia pestis", summary=FALSE)
ncbiTaxonomy(c("Bacillus anthracis", "Yersinia pestis"))
ncbiTaxonomy("cellular organisms[Next Level]")
# new Hantavirus species added in 2012
ncbiTaxonomy("Hantavirus[subtree] AND 2012[date] AND species[rank]")
# can also use Lineage field with esummary
ncbiTaxonomy("Necocli virus[Lineage]")
# compare to efetch results
ncbiTaxonomy (1145238, FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.