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


thijsjanzen/nodeSub documentation built on Nov. 15, 2023, 2:44 p.m.