Learn R Programming

rwty (version 1.0.3)

clade.freq: Returns clade names and frequencies

Description

Uses ape functionality to get the frequencies and names of clades in an MCMC chain or subset thereof.

Usage

clade.freq(x, start, end, rooted = FALSE, ...)

Value

clade.df A data froma containing clade names and frequencies

Arguments

x

A multiPhylo or rwty.chain object

start

The index of the first tree to consider in calcuating frequencies

end

The index of the last tree to consider in calculating frequencies

rooted

(TRUE/FALSE). Tells RWTY whether your trees are rooted or not.

...

Arguments to be passed to ape's prop.part function

Examples

Run this code
if (FALSE) {
data(fungus)
clade.freq(fungus$Fungus.Run1, start=10, end=100)
}

Run the code above in your browser using DataLab