path_hamming {ontophylo} | R Documentation |
Path hamming
Description
Calculates the hamming distance between states for a given path.
Usage
path_hamming(Path)
Arguments
Path |
data.frame. A tibble with state information about a given path (from root to a given node). The tibble is the output obtained from the get_states_path function. The columns give information on state changes, time spent on each state, and edge IDs. |
Value
The input tibble with two additional columns giving information on absolute and normalized hamming distances.
Author(s)
Sergei Tarasov
Internal function. Not exported.
[Package ontophylo version 1.1.3 Index]