positiveCounts: Get a vector of droplet positive and negative counts.

Description Usage Arguments Value Author(s) Examples

View source: R/plateSummary.R

Description

Take a vector of classes and return a vector of positive and negative counts that is compatible with ddPCR analysis.

Usage

1

Arguments

cl

A vector of classes that correspond to droplet amplitude data. The vector should only contain the values "PP", "PN", "NP" or "NN".

Value

A vector corresponding to "PP", "PN", "NP" and "NN".

Author(s)

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

Examples

1
2
3
4
5
6
## Take a data frame and make it into the right format.
aWell <- KRASdata[["E03"]]
aWell$Cluster <- relabelClasses(aWell, classCol="Cluster")

## Count the number of droplets in each cluster.
positiveCounts(aWell$Cluster)

twoddpcr documentation built on Nov. 8, 2020, 5:49 p.m.