triplepara {phybase} | R Documentation |
This is an internal function used to calculate the loglikelihood of triples.
triplepara(inode,jnode,nodematrix,nspecies)
inode |
the decendant node in the triple |
jnode |
the ancestral node in the triple |
nodematrix |
the species tree |
nspecies |
the number of species |
This function is used to calculate triple likelihoods.
The function returns the theta and gamma in a triple.
Liang Liu lliu@oeb.harvard.edu
write.subtree
, read.tree.string