as_tree {phylocanvas}R Documentation

as_tree

Description

Convert objects to newick strings

Usage

as_tree(phy)

## S4 method for signature 'phylo'
as_tree(phy)

## S4 method for signature 'phylo4'
as_tree(phy)

Arguments

phy

Required. phy is either a phylo class object, phylo4 class object, or a character that can be a newick literal or apath to newick-containing file.


[Package phylocanvas version 0.1.3 Index]