checkNo.replicates identifies samples with a disparate
number of replicates. The identified samples are treated as follows: (i) The QC samples can be independently analysed to ascertain the reproducibility of the data. (ii) The samples with no replicates are discarded from further analysis.
(iii) The samples with more replicates than expected, due to mislabelling (or otherwise), are
pre-processed using the function: mostSimilarTwo which detects and discards
replicates which give conflicting peak information compared to the rest of the replicates.
Here, the two most similar replicates are treated as the correct replicates for
the sample in question.
checkNo.replicates(rawData, no.peaks, no.replicates)
data(liverRawData)
rawData <- liverRawData
no.peaks <- 53
no.replicates <- 2
checkNo.replicates(rawData,no.peaks,no.replicates)
Run the code above in your browser using DataLab