Learn R Programming

nodeSub (version 1.2.8)

calc_fraction: Calculate the expected fraction of substitutions at the nodes, relative to the fraction at the branches

Description

calculates the relative contribution of substitutions at the nodes

Usage

calc_fraction(phy = NULL, node_time = 0, model = "unlinked")

Value

expected fraction

Arguments

phy

phylogenetic tree (optional)

node_time

time spent at the node

model

node substitution model