Computes the DTA likelihood for a subtree
Usage
local_DTA_likelihood(st_labels, coal_rate, fit_mig_mat)
Arguments
- st_labels
subset of rows from an ED object giving all nodes in a subtree
- coal_rate
Vector of coalescent rates
- fit_mig_mat
Forwards-in-time migration matrix for the phylogeny
Value
Likelihood & log_likelihood between events