path_hamming_over_trees_KDE {ontophylo} | R Documentation |
Hamming distances for a list of trees
Description
Calculates hamming distances for all paths in each discretized tree of a list.
Usage
path_hamming_over_trees_KDE(tree.list)
Arguments
tree.list |
multiSimmap object. |
Value
A tibble with information on state changes, time spent on each state, edge IDs, absolute and normalized hamming distances for all edges and all trees in a list.
Author(s)
Sergei Tarasov
Examples
data("hym_stm_amalg")
# Get ten samples of stochastic maps from head.
tree_list <- hym_stm_amalg$head[1:10]
tree_list <- merge_tree_cat_list(tree_list)
# Calculate hamming distances.
ph <- suppressWarnings(path_hamming_over_trees_KDE(tree_list))
ph
[Package ontophylo version 1.1.3 Index]