Learn R Programming

metacoder (version 0.3.7)

parse_raw_heirarchies_to_taxonomy: 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)

Value

A list of character vectors.

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.