load.multi {rwty} | R Documentation |
Load all matching files from a directory into a list of rwty.chain objects
Description
Finds trees and log files based on format definition, returns rwty.chain objects containing both
Usage
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
#load.multi(path = "~/my trees/", format = "*beast")
[Package rwty version 1.0.2 Index]