TaxonChildren | R Documentation |
This function goes through the hierarchy pages to collect taxonomic offspring and parantage.
TaxonChildren(MyHiers) TaxonParents(MyHier)
MyHiers |
A vector or single filename for downloaded hierarchy pages |
MyHier |
A single filename for downloaded hierarchy pages |
TaxonChildren
will report the primary offspring of a taxon if the hierarchy page
reports this information. TaxonParents
will return the list of taxonomic parentage
MakeTreeData
## Not run: # Simple example using Reol data: data(MyHiers) TaxonChildren(MyHiers) TaxonParents(MyHiers[1]) # Species of Anolis off NCBI data(MyHiers) TaxonChildren(MyHiers) # Example to get all Anolis species from NCBI eolAnolis <- DownloadSearchedTaxa("Anolis", to.file=FALSE) hierAnolis <- DownloadHierarchy(eolAnolis, to.file=FALSE, database="NCBI Taxonomy") TaxonChildren(hierAnolis) # Species of Anolis off The Reptile Database eolAnolis <- DownloadSearchedTaxa("Anolis", to.file=FALSE) repdbAnolis <- DownloadHierarchy(eolAnolis, to.file=FALSE, database="The Reptile Database") TaxonChildren(repdbAnolis) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.