Learn R Programming

metacoder (version 0.3.7)

print_tree: Print a text tree

Description

Print a text-based tree of a [taxonomy()] or [taxmap()] object.

Arguments

obj

A taxonomy or taxmap object

value

What data to return. Default is taxon names. Any result of [all_names()] can be used, but it usually only makes sense to use data with one value per taxon, like taxon names.

Examples

Run this code
print_tree(ex_taxmap)

Run the code above in your browser using DataLab