write.simmap: Write phylo4d_ext tree to newick string

Description Usage Arguments Value Author(s) See Also

Description

This function write a phylo4d_ext object to a SIMMAP-formatted (version 1.0 or 1.1) text string. This function is mainly used in conjunction with write.nexus.simmap. It is an extension of the write.tree function in the ape package.

Usage

1
write.simmap(x, usestate = NULL, file = "", vers = 1.1, ...)

Arguments

x

A phylo4d_ext object

usestate

Which data column should be written in the internal simmap blocks. If NULL, then either the first data column (vers==1.1 || vers==1.0) or all data columns (vers==1.5) are used.

file

The file to write to. If not set, then the tree is printed to the screen

vers

Which version to use. 1.0 uses the ';' as the internal delimiter which 1.1 uses ':'

...

These are passed to write.tree (which is only called if there are no subnodes)

Value

A character string (if file is not set)

Author(s)

J. Conrad Stack

See Also

newlabels.v15, newlabels.v1x, write.nexus.simmap


phyext documentation built on May 2, 2019, 5:19 p.m.