linksAnalysis: Generate binary column representing links between pairs,...

Description Usage Arguments Value

Description

Generate binary column representing links between pairs, given dendrogram and cut specification (cut height and not number of desired clusters)

Usage

1
linksAnalysis(allPairwise, pairColNums, htree, cutoff, linkage)

Arguments

allPairwise

name of data frame containing all pairwise comparisons. This needs to have at least two columns, one representing the first item in the comparison, and one representing the second item.

pairColNums

vector of length 2 indicating the column numbers of 1. item 1 in comparison, 2. item 2 in comparison

htree

tree (dendrogram) after hierarchical clustering, returned by 'getHcluster'

cutoff

cut height for clustering

linkage

one of "single", "complete", "average", "centroid", "minimax"

Value

binary vector representing whether links exist between pairs in 'allPairwise'


xhtai/heisenbrgr documentation built on June 8, 2019, 9:30 a.m.