Learn R Programming

DAISIEprep (version 1.0.1)

write_newick_file: Write tree input file for BioGeoBEARS

Description

Write a text file containing a phylogenetic tree in the Newick format expected by BioGeoBEARS

Usage

write_newick_file(phylod, path_to_phylo)

Value

Nothing, called for side-effects.

Arguments

phylod

A phylo4d object from the package phylobase containing phylogenetic and endemicity data for each species.

path_to_phylo

string specifying the path and name to write the file to.