genPairwise: Generate pairwise comparisons

Description Usage Arguments Value

View source: R/anyData.R

Description

Generate pairwise comparisons

Usage

1
genPairwise(datasetName, labelColNum)

Arguments

datasetName

name of data that is loaded in R e.g. AlonDS

labelColNum

column number with cluster label

Value

data frame with all choose(n, 2) comparisons. Three columns: 'hash1' is the row number in the original data set of the first item in the comparison, 'hash2' is the second, and 'match' is the ground truth for whether the pair is in the same cluster.


xhtai/clusterTruster documentation built on May 22, 2020, 10:56 a.m.