plateClassificationMethod {twoddpcr} | R Documentation |
plateClassificationMethod
retrieves multiple classification methods
that have been assigned to a ddpcrPlate
object.
commonClassificationMethod
retrieves the classification
methods common to all the wells in the given ddpcrPlate
object.
plateClassificationMethod(theObject) ## S4 method for signature 'ddpcrPlate' plateClassificationMethod(theObject) plateClassificationMethod(theObject, cMethod) <- value ## S4 replacement method for signature 'ddpcrPlate' plateClassificationMethod(theObject, cMethod) <- value commonClassificationMethod(theObject) ## S4 method for signature 'ddpcrPlate' commonClassificationMethod(theObject)
theObject |
A |
cMethod |
This should represent existing classification method(s) for
all wells in
|
value |
New classification method(s) in the same form as
|
plateClassificationMethod
returns a list of character strings
corresponding to the classification methods.
commonClassificationMethod
returns a vector of character
strings indicating which classification methods appear in all wells.
Anthony Chiu, anthony.chiu@cruk.manchester.ac.uk
plateClassification
for the classifications.
## Get the classification methods for the KRASdata dataset. krasPlate <- ddpcrPlate(wells=KRASdata) plateClassificationMethod(krasPlate) ## Change the "Cluster" column to "QS". plateClassificationMethod(krasPlate, "Cluster") <- "QS" plateClassificationMethod(krasPlate) ## Usually, all of the classification names are the same for all wells. We ## use the \code{commonClassificationMethod} method to retrieve the ones ## common to all wells. commonClassificationMethod(krasPlate)