mcc2: mcc2

Description Usage Arguments Value See Also Examples

View source: R/mcc2.R

Description

This function is based on the maxCladeCred in phangorn, and it finds the maximum clade crebility tree given a list of trees.

Usage

1
mcc2(phy, annot = "pos")

Arguments

phy

List of multiPhylo trees

annot

Inform whether mcc2 should annotate on the mcc tree using "freq" frequencies or "pos" posterior probabilities.

Value

mcc tree phylo object

See Also

maxCladeCred prop.part

Examples

1
2
3
path <- system.file("data/trees/", package="rBt")
trs <- mcc.trees2multi(path)
mcctr <- mcc2(trs)

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