Learn R Programming

scistreer (version 1.2.1)

score_tree: Score a tree based on maximum likelihood

Description

Score a tree based on maximum likelihood

Usage

score_tree(tree, P, get_l_matrix = FALSE)

Value

list Likelihood scores of a tree

Arguments

tree

phylo object

P

genotype probability matrix

get_l_matrix

whether to compute the whole likelihood matrix

Examples

Run this code
tree_likelihood = score_tree(tree_upgma, P_small)$l_tree

Run the code above in your browser using DataLab