GetPairs: Obtain pairs of leaves

Description Usage Arguments Value Author(s)

Description

Find all the pairs of leaves between a specific subcluster and all the other subclusters under the main cluster. Pairs between the subclusters of the specific subcluster are also given.

Usage

1
GetPairs(cluster, pos)

Arguments

cluster

main cluster (of the form provided by the function hclust2tree)

pos

position of the subcluster directly under the main cluster. This subcluster is the one every other subcluster will be paired with.

Value

Matrix of pairs of leaves.

Author(s)

Simon-Pierre Gadoury


Spgadou/erhcv documentation built on May 13, 2019, 12:52 p.m.