getComparisons {CSSQ} | R Documentation |
This function creates a data frame of all possbile combinations of sample
labels.
This information is utilized by calculatePvalue
to calculate
the P-value using column permutation method.
getComparisons(trueLabel, comparison, numSamples)
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. |
A data frame with possible combinations of samples other the true intended comparison.
DBAnalyze
which calls this function and
getNewLabels
which this function calls