positiveCounts {twoddpcr} | R Documentation |
Take a vector of classes and return a vector of positive and negative counts that is compatible with ddPCR analysis.
positiveCounts(cl)
cl |
A vector of classes that correspond to droplet amplitude data. The vector should only contain the values "PP", "PN", "NP" or "NN". |
A vector corresponding to "PP", "PN", "NP" and "NN".
Anthony Chiu, anthony.chiu@cruk.manchester.ac.uk
## 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)