Description Usage Arguments Value Author(s) Examples
Retrieves the number of droplets in a ddpcrWell
or
ddpcrPlate
object.
1 2 3 4 5 6 7 | numDroplets(theObject, ...)
## S4 method for signature 'ddpcrWell'
numDroplets(theObject)
## S4 method for signature 'ddpcrPlate'
numDroplets(theObject)
|
theObject |
A |
... |
Other parameters depending on the type of |
For ddpcrWell
objects, return the number of droplets as an
integer.
For ddpcrPlate
objects, return a named vector. The names
correspond to a well name and each item corresponding to the number of
droplets in that well.
Anthony Chiu, anthony.chiu@cruk.manchester.ac.uk
1 2 3 4 5 6 7 8 9 10 11 12 | ## Count the number of droplets in a well.
aWell <- ddpcrWell(well=KRASdata[["E03"]])
numDroplets(aWell)
## Get all of the wells in a named vector.
krasPlate <- ddpcrPlate(wells=KRASdata)
(numberDroplets <- numDroplets(krasPlate))
sum(numberDroplets)
## We can choose to get a subset of the wells.
(numberDroplets <- numDroplets(krasPlate[c("H03", "A04")]))
sum(numberDroplets)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.