TaxonChildren: Gathers A List Of Taxonomic Parents and Offspring

Description Usage Arguments Value See Also Examples

View source: R/TaxonChildren.R

Description

This function goes through the hierarchy pages to collect taxonomic offspring and parantage.

Usage

1
2

Arguments

MyHiers

A vector or single filename for downloaded hierarchy pages

MyHier

A single filename for downloaded hierarchy pages

Value

TaxonChildren will report the primary offspring of a taxon if the hierarchy page reports this information. TaxonParents will return the list of taxonomic parentage.

See Also

MakeTreeData

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#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
## Not run: 
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)

Reol documentation built on May 30, 2017, 12:30 a.m.