parse_raw_heirarchies_to_taxonomy: Infer edge list from hierarchies composed of character...

View source: R/old_taxa--taxonomy--internal.R

parse_raw_heirarchies_to_taxonomyR Documentation

Infer edge list from hierarchies composed of character vectors

Description

Infer edge list and unique taxa from hierarchies.

Usage

parse_raw_heirarchies_to_taxonomy(heirarchies, named_by_rank = FALSE)

Arguments

named_by_rank

('TRUE'/'FALSE') If 'TRUE' and the input is a list of vectors with each vector named by ranks, include that rank info in the output object, so it can be accessed by 'out$taxon_ranks()'. If 'TRUE', taxa with different ranks, but the same name and location in the taxonomy, will be considered different taxa.

A

list of character vectors.


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