read.nexus.simmap: Read a nexus file with SIMMAP-formatted trees (v1.0)

Description Usage Arguments Details Value Author(s)

Description

This function reads the trees from a nexus file where the trees are SIMMAP-formatted (v1.0). It does not read any data blocks, just the trees. If the file contains multiple trees, this function returns them as a list.

Usage

1
read.nexus.simmap(finput = "", text = NULL, vers = NULL, ...)

Arguments

finput

A nexus file

text

Alternatively, read this text.

vers

Which version of simmap to try to read.

...

All other arguments are passed to internal read.simmap function.

Details

This function reads nexus blocks using a combination of internal functions and a few phylobase functions. If simmap newick trees are found then the function read.simmap is used otherwise a modified read.tree is found.

Value

A list containing either phylo4d objects or phylo4d_ext objects depending on whether or not SIMMAP characters are found.

Author(s)

J. Conrad Stack


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