get_class_from_el: Get classification for taxa in edge list

View source: R/heat_tree--internal.R

get_class_from_elR Documentation

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.


metacoder documentation built on April 4, 2023, 9:08 a.m.