Function that returns the maximum distance of the minimum spanning tree based on a distance matrix.
Can be useful to select a truncation value for the original PCNM approach. It returns the minimum value that keep all samples connected.
A distance matrix (i.e. obtained by dist() function)
The maximum value of the minimum spanning tree
1 2 3 4 5 6 7 8
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.