Analysis of synchronous transitions of two traits
Source:R/synchronous_transitions.R
synchronous_transitions.Rd
Synchronous gain and loss of two traits at a spot on tree
Usage
synchronous_transitions(
comparitor_parent_child_df,
trait_parent_child_df,
node_states = "joint",
confidence = NULL
)
Arguments
- comparitor_parent_child_df
Parent child dataset for a comparitor trait, such as a genotype or a different trait/phenotype
- trait_parent_child_df
Parent child dataset for a trait of interest, such as a trait/phenotype
- node_states
Joint or marginal reconstruction
- confidence
Whether to use high or low confidence transition nodes when node_states are marginal