discr_Simmap_all {ontophylo}R Documentation

Reading unsummarized simmap for a list of trees

Description

Discretizes tree edges of a list of trees.

Usage

discr_Simmap_all(tree, res)

Arguments

tree

multiSimmap or multiPhylo object.

res

integer. A resolution value for the discretization of tree edges.

Value

A multiSimmap or multiPhylo object.

Author(s)

Sergei Tarasov

Examples

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]])


[Package ontophylo version 1.1.3 Index]