tree_sampler: Subset trees from posterior distribution of trees.

View source: R/treeSampler.R

tree_samplerR Documentation

Subset trees from posterior distribution of trees.

Description

This function randomly samples a subset of trees from a posterior distribution of trees derived from multiple runs of MrBayes.

Usage

tree_sampler(wd, n = 100, pattern = ".tre", ...)

Arguments

wd

A path to the working directory with the distributions of multiple phylogenetic trees.

n

The desired number of subsets of trees. This defaults to 100.

pattern

An optional regular expression specifying the file extension.

...

arguments passed among methods.

Value

An object of class "multiPhylo" with the subset of trees.

Author(s)

Dominic Bennett & Harith Farooq harithmorgadinho@gmail.com


darunabas/phyloregion documentation built on Oct. 27, 2024, 10:01 p.m.