wellClassificationMethod {twoddpcr} | R Documentation

## Retrieve the classification method.

### Description

Retrieve the names of the classification methods for a `ddpcrWell` object.

### Usage

    wellClassificationMethod(theObject)

    ## S4 method for signature 'ddpcrWell'
    wellClassificationMethod(theObject)

    wellClassificationMethod(theObject, cMethod) <- value

    ## S4 replacement method for signature 'ddpcrWell'
    wellClassificationMethod(theObject, cMethod) <- value

### Arguments

`theObject` | A `ddpcrWell` object.
`cMethod` | If modifying the classification methods, this should be a vector of existing classification names or numbers.
`value` | A character vector (of the same length as `cMethod`) giving a new names for the chosen classification methods.

### Value

The classification method names.

### Author(s)

Anthony Chiu, anthony.chiu@cruk.manchester.ac.uk

### See Also

`wellClassification` for the classification of the droplets.

### Examples

    ## Create a ddpcrWell object with some data and classification.
    aWell <- ddpcrWell(well=KRASdata[["E03"]])

    ## Retrieve the classification method names.
    head(wellClassificationMethod(aWell))

    ## Set a classification method name to something new.
    wellClassificationMethod(aWell, cMethod="Cluster") <- "QuantaSoft"

    ## We check the classification now, showing the amplitudes as well.
    wellClassificationMethod(aWell)

[Package twoddpcr version 1.6.0 Index]