getNewLabels {CSSQ} | R Documentation |
getComparisons
This function labels the samples according the combinations generated by
getComparisons
.
getNewLabels(trueLabel, comparison, numSamples, combns, index)
trueLabel |
The true labels for the samples. |
comparison |
A vector containing the comparison to be made. Names here need to correspond to the sample groups in the sample file (Eg. c("G1",G2") means the comparison G1/G2). |
numSamples |
Number of samples in the dataset. |
combns |
Possible combinations of sample index generated in
|
index |
index of the combination to use for labeling. |
A vector with labels.
getComparisons
which calls this function