calc_fraction: Calculate the expected fraction of substitutions at the...

View source: R/calc_rel_contr_node_time.R

calc_fractionR Documentation

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")

Arguments

phy

phylogenetic tree (optional)

node_time

time spent at the node

model

node substitution model

Value

expected fraction


nodeSub documentation built on Aug. 19, 2022, 5:23 p.m.