asymmRerootingMethod: Calculates ancestral likelihoods of ancestral states for...

View source: R/RERfuncs.R

asymmRerootingMethodR Documentation

Calculates ancestral likelihoods of ancestral states for discrete characters

Description

Calculates ancestral likelihoods of ancestral states for discrete characters

Usage

asymmRerootingMethod(tree, tips, Q)

Arguments

tree

An object of class "phylo"

tips

The phenotype data for the species at the tips of the tree. Must be in the same order as tree$tip.label

Q

A transition rate matrix fit on the tree and tips

Value

A matrix of ancestral likelihoods with rows in the same order as the internal nodes in the tree


nclark-lab/RERconverge documentation built on March 2, 2024, 8:51 a.m.