Description Usage Arguments Examples
Returns a table with taxonomic lineages at the requested
rank levels. A wrapper around getAllParents
.
1 2 | getLineage(ids, tax, ranks = c("phylum", "species"), names = FALSE,
reduce = FALSE)
|
ids |
vector of taxon IDs |
tax |
NCBI taxonomy object |
ranks |
vector of ranks to retrieve |
names |
return taxon names instead of ids |
reduce |
call |
1 2 | getLineage(c("1148","1140"), tax, names=TRUE,
ranks=c("superkingdom","phylum","species"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.