Learn R Programming

RPesto (version 0.1.4)

Phylogeny: Phylogeny constructor

Description

Constructs a phylogeny that lives in the "rust" part of the program

Usage

Phylogeny(newick)

Format

An object of class environment of length 10.

Arguments

newick

a newick string

Examples

Run this code
phy <- Phylogeny$new("((A:0.5,B:0.5):0.5,C:1.0);")

phy$print()

phy$write_newick()

Run the code above in your browser using DataLab