load.multi: Load all matching files from a directory into a list of...

Description Usage Arguments Value Examples

View source: R/load.multi.R

Description

Finds trees and log files based on format definition, returns rwty.chain objects containing both

Usage

1
load.multi(path = ".", format = "mb", labels = NA, ...)

Arguments

path

The path to the directory containing tree and log files

format

File format, which is used to find tree and log files. Currently accepted values are "mb" for MrBayes, "beast" for BEAST, "*beast" for *BEAST, and "revbayes" for RevBayes. If you would like RWTY to understand additional formats, please contact the authors and send us some sample data.

labels

A vector of names to assign to chains as they are read in.

...

Further arguments to be passed to load.trees.

Value

output A list of rwty.chain objects containing the multiPhylos and the tables of values from the log files if available.

Examples

1
#load.multi(path = "~/my trees/", format = "*beast")

danlwarren/RWTY documentation built on Sept. 5, 2021, 8:35 p.m.