Learn R Programming

pctax (version 0.1.7)

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

Description

NOTE: this function will transfer all space to _

Usage

df2tree1(taxa)

Value

phylo object

Arguments

taxa

dataframe

Examples

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

Run the code above in your browser using DataLab