getNewLabels: Labels the samples according to the combinations from...

Description Usage Arguments Value See Also

View source: R/getNewLabels.R

Description

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

Usage

1
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


CSSQ documentation built on Nov. 8, 2020, 6:47 p.m.