ddpcrWell-class {twoddpcr} | R Documentation |
An S4 class for the classification of a single well in a ddPCR experiment.
The constructor for the ddpcrWell
class.
ddpcrWell(well) ## S4 method for signature 'data.frame' ddpcrWell(well) ## S4 method for signature 'character' ddpcrWell(well) ## S4 method for signature 'missing' ddpcrWell(well) ## S4 method for signature 'ddpcrWell' ddpcrWell(well) ## S4 method for signature 'ddpcrWell' show(object)
well |
A well with columns |
object |
Any R object |
A ddpcrWell
object with the given droplets in the well.
dropletAmplitudes
A data frame with columns Ch1.Amplitude
and Ch2.Amplitude
corresponding to all the droplets in the ddPCR
well.
classification
A vector of factors, where the levels are given by
ddpcr$classesRain
.
Anthony Chiu, anthony.chiu@cruk.manchester.ac.uk
Anthony Chiu, anthony.chiu@cruk.manchester.ac.uk
## A \code{ddpcrWell} object can be created from data from a list of data ## frames. ddpcrWell(KRASdata[[1]]) ## An CSV file of droplet amplitudes can also be loaded. ampFile <- system.file("extdata/amplitudes/sample_B03_Amplitude.csv", package="twoddpcr") ddpcrWell(ampFile)