discr_Simmap_all {ontophylo} | R Documentation |
Discretizes tree edges of a list of trees.
discr_Simmap_all(tree, res)
tree |
multiSimmap or multiPhylo object. |
res |
integer. A resolution value for the discretization of tree edges. |
A multiSimmap or multiPhylo object.
Sergei Tarasov
data("hym_stm")
tree_list <- hym_stm[[1]]
stm_discr_list <- discr_Simmap_all(tree_list, res = 100)
# Check some arbitrary branch of some arbitrary tree.
tree_list[[1]]$maps[[8]]
stm_discr_list[[1]]$maps[[8]]
sum(tree_list[[1]]$maps[[8]])
sum(stm_discr_list[[1]]$maps[[8]])