tree_dat.Rd
Generate extra data, including likelihood and parsimony scores for each tree. Export the values as tree annotation to put into the ggplot object.
tree_dat(tree, phy_mat, start, stop, pscore = FALSE, lscore = FALSE)
tree | Exported tree from parsimony search |
---|---|
phy_mat | Phylogenetic matrix |
start | Which character to begin sampling characters at |
stop | Which character to end sampling characters at |
pscore | Boolean calculate and export parsimony scores for each character set |
lscore | Boolean calculate and export likelihood scores for each character set |
tree Tree object with p and l scores annotated via $
#>#> Final p-score 2 after 0 nni operations