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

print_tree(ex_taxmap)
#> Mammalia #> ├─Felidae #> │ ├─Panthera #> │ │ └─tigris #> │ └─Felis #> │ └─catus #> ├─Notoryctidae #> │ └─Notoryctes #> │ └─typhlops #> └─Hominidae #> └─homo #> └─sapiens #> Plantae #> └─Solanaceae #> └─Solanum #> ├─lycopersicum #> └─tuberosum