reconstruct_apomorphy: Reconstruct an apomorphy down a tree using parsimony

View source: R/runanalysis.R

reconstruct_apomorphyR Documentation

Reconstruct an apomorphy down a tree using parsimony

Description

Given a phylogeny, tip states, and which state is the apomorphy, reconstruct the apomorphy down the tree.

Usage

reconstruct_apomorphy(phy, data, apomorphy)

Arguments

phy

A phylo object

data

A phyDat class object containing the states

apomorphy

The state that is the apomorphy

Value

A tree with node.labels with the reconstructed states


bomeara/chapter2 documentation built on July 22, 2023, 3:19 a.m.