Learn R Programming

MorphSim (version 0.1.0)

write.recon.tree: Write reconstructed tree to file

Description

Write the reconstructed tree to Newick string

Usage

write.recon.tree(data = NULL, file = NULL)

Value

No return value, called for its side effect of writing data to a file.

Arguments

data

Morpho object

file

File name

Examples

Run this code
data(morpho_data)
tmp <- tempfile(fileext = ".tre")
write.recon.tree(data = morpho_data, file = tmp)

Run the code above in your browser using DataLab