get_class_from_el: Get classification for taxa in edge list

Description Usage Arguments Value

View source: R/heat_tree--internal.R

Description

Extracts the classification of every taxon in a list of unique taxa and their supertaxa.

Usage

1
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.


grunwaldlab/metacoder documentation built on Nov. 30, 2018, 7:53 p.m.