Description Usage Arguments Value
View source: R/get_path_distance_function.R
This function returns the path distance between node and tip on a rooted tree, in a root to tip direction.
1 | get_path_distance(graph_tree, root, node, input_tree)
|
graph_tree |
A rooted tree of newick format, converted into graph form by igraph. |
root |
A node in the graph you want to begin the path. |
node |
Target node. |
input_tree |
A rooted newick tree - class "phylo". |
The SNP distance between given root and node.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.