getNewLabels {CSSQ}R Documentation

Labels the samples according to the combinations from getComparisons

Description

This function labels the samples according the combinations generated by getComparisons.

Usage

getNewLabels(trueLabel, comparison, numSamples, combns, index)

Arguments

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 getComparisons.

index

index of the combination to use for labeling.

Value

A vector with labels.

See Also

getComparisons which calls this function


[Package CSSQ version 1.4.1 Index]