score_tree {scistreer} | R Documentation |
Score a tree based on maximum likelihood
Description
Score a tree based on maximum likelihood
Usage
score_tree(tree, P, get_l_matrix = FALSE)
Arguments
tree |
phylo object |
P |
genotype probability matrix |
get_l_matrix |
whether to compute the whole likelihood matrix |
Value
list Likelihood scores of a tree
Examples
tree_likelihood = score_tree(tree_upgma, P_small)$l_tree
[Package scistreer version 1.2.0 Index]