Description Usage Arguments Value Author(s) Examples
clusterCentres
retrieves the cluster centres for
a ddpcrWell
object or the centres for each well in
a ddpcrPlate
object.
combinedCentres
retrieves the cluster centres for all of
the wells together.
1 2 3 4 5 6 7 8 9 10 11 12 | clusterCentres(theObject, cMethod)
## S4 method for signature 'ddpcrWell'
clusterCentres(theObject, cMethod)
## S4 method for signature 'ddpcrPlate'
clusterCentres(theObject, cMethod)
combinedCentres(theObject, cMethod)
## S4 method for signature 'ddpcrPlate'
combinedCentres(theObject, cMethod)
|
theObject |
A |
cMethod |
The classification method for which to obtain the centres. |
If a ddpcrWell
object is given, clusterCentres
returns
the cluster centres as a data frame.
If a ddpcrPlate
object is given, clusterCentres
return
a list of data frames, where each data frame corresponds to the cluster
centres of a well.
combinedCentres
returns a data frame of the centres of all of
the wells combined.
Anthony Chiu, anthony.chiu@cruk.manchester.ac.uk
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Get the centres of a sample with 4 clusters.
aWell <- ddpcrWell(well=KRASdata[["E03"]])
clusterCentres(aWell, "Cluster")
## Get the centres of a sample with 3 clusters.
aWell <- ddpcrWell(well=KRASdata[["H04"]])
clusterCentres(aWell, "Cluster")
## Retrieve the cluster centres of each of the wells in a \code{ddpcrPlate}
## object.
krasPlate <- ddpcrPlate(wells=KRASdata)
clusterCentres(krasPlate, cMethod="Cluster")
## Retrieve the cluster centres of all wells combined.
combinedCentres(krasPlate, cMethod="Cluster")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.