Description Usage Arguments Examples
Loops over getParents for severals taxon IDs and avoids multiple
lineage retrieval operations by passing already found edges to the
skip
option of the recursive function.
1 | getAllParents(ids, tax, root = "1", names = FALSE, dbug = FALSE)
|
ids |
vector of taxon IDs |
tax |
NCBI taxonomy object |
root |
taxon ID of the taxonomic class to be considered as root |
names |
return taxon names instead of ids |
dbug |
print debug messages |
1 | getAllParents(c("1148","1140"), tax)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.