read.beast.table: Extract node data from BEAST chronogram

Description Usage Arguments Value Author(s) See Also

Description

This function reads a BEAST chronogram such as produced by TreeAnnotator and extracts time, rate, and support values for internal and external nodes. Nodes in the resulting data frame are ordered exactly like in the NEXUS file.

Usage

1
read.beast.table(file, digits = 2)

Arguments

file

character string giving the input file, which must be a TreeAnnotaror-generated chronogram in NEXUS format

digits

NULL or integer, if !is.null(digits) values are rounded to the given integer

Value

A matrix; each row corresponds to an internal node, the (ape!)number of which is given in the first column; the remaining columns list the node values extracted from the chronogram.

Author(s)

Christoph Heibl

See Also

read.beast to parse TreeAnnotator output, rbeauti to create XML input for BEAST, HPDbars to plot highest posterior densities on phylogenies.


fmichonneau/phyloch documentation built on May 16, 2019, 1:45 p.m.