siteTransitions: Compute transitions per branch

Description Arguments Value

Description

Compute the number of expected transitions per site between states based on the marginal joint probabilities

Arguments

obj

rateModel object

subset

The site indices for which should be summed over to compute the total number of expected transitions (NOT IMPLEMENTED)

ncores

Number of cores to use

Value

A data.table where each is labeled by site index, parent allele, and child allele, and the number transitions over the whole tree


ndukler/epiAllele documentation built on May 5, 2019, 4:50 p.m.