RDocumentation
Moon
Learn R
Search all packages and functions
metacoder (version 0.1.2)
get_class_from_el: Get classification for taxa in edge list
Description
Extracts the classification of every taxon in a list of unique taxa and their supertaxa.
Usage
get_class_from_el(taxa, parents)
Arguments
taxa
(
character
) Unique taxon IDs for every possible taxon.
parents
(
character
) Unique taxon IDs for the supertaxa of every possible taxon. Root taxa should have
NA
in this column.
Value
A list of vectors of taxa IDs. Each list entry corresponds to the
taxa
supplied.