mcc.trees2multi: mcc.trees2multi

Description Usage Arguments Value See Also Examples

View source: R/mcc.trees2multi.R

Description

This function reads separate MCC files from BEAST an stores them as a multiPhylo object.

Usage

1
mcc.trees2multi(path = ".")

Arguments

path

The path to the directory with the MCC files. By default it will list files in the current path(.).

Value

list of trees of class multiPhylo

See Also

read.beast.annot read.nexus

Examples

1
2
3
4
path <- system.file("data/trees/", package="rBt")
trs <- mcc.trees2multi(path)
class(trs)
# [1] "multiPhylo"

santiagosnchez/rBt documentation built on Aug. 9, 2021, 11:52 p.m.