df2tree1: From a dataframe to construct a phylo (save nwk)

View source: R/phylogenetic.R

df2tree1R Documentation

From a dataframe to construct a phylo (save nwk)

Description

NOTE: this function will transfer all space to ⁠_⁠

Usage

df2tree1(taxa)

Arguments

taxa

dataframe

Value

phylo object

Examples

if (requireNamespace("ape")) {
  data(otutab, package = "pcutils")
  df2tree1(taxonomy) -> tax_tree
  print(tax_tree)
}

pctax documentation built on Feb. 9, 2026, 9:06 a.m.