GetPairs: Obtain pairs of leaves

Description Usage Arguments Value Author(s)

View source: R/GetPairs.R

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


erhcv documentation built on May 1, 2019, 6:28 p.m.

Related to GetPairs in erhcv...