wellClassificationMethod: Retrieve the classification method.

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

1
2
3
4
5
6
7
8
9
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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)

CRUKMI-ComputationalBiology/twoddpcr documentation built on Feb. 14, 2021, 9:18 p.m.