pq_helper: Recursively builds and returns a PQ tree for the MST

Description Usage Arguments

Description

Recursively builds and returns a PQ tree for the MST

Usage

1
pq_helper(mst, use_weights = TRUE, root_node = NULL)

Arguments

mst

The minimum spanning tree, as an igraph object.

use_weights

Whether to use edge weights when finding the diameter path of the tree.

root_node

The name of the root node to use for starting the path finding.


monocle documentation built on Nov. 8, 2020, 5:06 p.m.