loadMulti: Modified from RWTY

View source: R/loadMulti.R

loadMultiR Documentation

Modified from RWTY

Description

Load all matching files from a directory or a list of files into a list of rwty.chain objects

Usage

loadMulti(
  path = NULL,
  tree_files = NULL,
  log_files = NULL,
  format = "revbayes",
  labels = NA,
  ...
)

Arguments

path

The path to the directory containing tree and log files

tree_files

The list of tree files when the path is not provided

log_files

The list of log files when the path is not provided

format

File format, which is used to find tree and log files Currently accepted values "revbayes" for RevBayes, "mb" for MrBayes, "beast" for Beast and "*beast" for StarBeast

labels

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

...

Further arguments to be passed to load.trees

Details

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

Value

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


lfabreti/convenience documentation built on June 17, 2022, 8:12 a.m.