powered by
Score a tree based on maximum likelihood
score_tree(tree, P, get_l_matrix = FALSE)
list Likelihood scores of a tree
phylo object
genotype probability matrix
whether to compute the whole likelihood matrix
tree_likelihood = score_tree(tree_upgma, P_small)$l_tree
Run the code above in your browser using DataLab