is.simmap: Check SIMMAP v1.0

Description Usage Arguments Details Value Author(s)

Description

Check if text of file contains a SIMMAP-formatted (v1.0) newick file

Usage

1
is.simmap(finput = "", text = NULL, vers=c(1.1),quick=TRUE)

Arguments

finput

A newick file

text

Newick file text

vers

Which simmap version to use

quick

If TRUE, then this function actually tries to explicitly convert the input to the specified simmap vers and catch any errors

Details

This function looks for '' and '' (or '[' and ']' depending on vers) characters in the text which would indicate that it is a SIMMAP-formatted file. Currently, versions 1.0 and 1.1 are supported.

Value

Logical

Author(s)

J. Conrad Stack


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

Related to is.simmap in phyext...