getRepresentative | R Documentation |
Get representative from a list of taxa based on a selected taxonomy rank
getRepresentative(taxonList = NULL, rank = NULL)
taxonList |
List of taxa |
rank |
Taxonomy rank used for sub-sampling. Each super taxon of this rank will have one representative. |
A dataframe contains sub-selected taxa including their IDs, names, as well as IDs and names of the supertaxa from the selected rank.
Vinh Tran tran@bio.uni-frankfurt.de
taxonList <- c(
214684, 246409, 3055, 336722, 3702, 400682, 441375, 45351, 4558, 559292,
6239, 7227, "Homo sapiens"
)
getRepresentative(taxonList, rank = "phylum")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.