ct.inputCheck {gCrisprTools} | R Documentation |
For many gCrisprTools functions, a sample key must be provided that specifies sample mapping to experimental groups and specifies which of these contains control samples. This function checks whether the specified sample key is of the proper format and has properties consistent matching the specified object.
ct.inputCheck(sampleKey, object)
sampleKey |
A named factor, where the |
object |
An |
A logical indicating whether the objects are compatible.
Russell Bainer
data('es') library(limma) library(Biobase) #Build the sample key sk <- relevel(as.factor(pData(es)$TREATMENT_NAME), "ControlReference") names(sk) <- row.names(pData(es)) ct.inputCheck(sk, es)