getComparisons {CSSQ}R Documentation

Identify possible combinations

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

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


[Package CSSQ version 1.5.1 Index]