# Function that returns the maximum distance of the minimum spanning tree based on a distance matrix.

### Description

Can be useful to select a truncation value for the original PCNM approach. It returns the minimum value that keep all samples connected.

### Usage

1 | ```
give.thresh(distxy)
``` |

### Arguments

`distxy` |
A distance matrix (i.e. obtained by dist() function) |

### Value

The maximum value of the minimum spanning tree

### Author(s)

Stephane Dray

### Examples

1 2 3 4 5 6 7 8 |