getComparisons: Identify possible combinations

Description Usage Arguments Value See Also

View source: R/getComparisons.R

Description

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.

Usage

1
getComparisons(trueLabel, comparison, numSamples)

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.

Value

A data frame with possible combinations of samples other the true intended comparison.

See Also

DBAnalyze which calls this function and getNewLabels which this function calls


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