getIndicesConditions {DAPAR} | R Documentation |
Returns a list for the two conditions where each slot is a vector of indices for the samples.
getIndicesConditions(labels, cond1, cond2)
labels |
A vector of strings containing the column "Label" of
the |
cond1 |
A vector of Labels (a slot in the |
cond2 |
A vector of Labels (a slot in the |
A list with two slots iCond1
and iCond2
containing
respectively the indices of samples in the pData()
table of the
dataset.
Florence Combes, Samuel Wieczorek
require(DAPARdata) data(Exp1_R25_pept) labels <- Biobase::pData(Exp1_R25_pept)[,"Label"] getIndicesConditions(labels, "25fmol", "10fmol")