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.
GetPairs(cluster, pos)
main cluster (of the form provided by the function hclust2tree)
position of the subcluster directly under the main cluster. This subcluster is the one every other subcluster will be paired with.
Matrix of pairs of leaves.