getGroups {plateCore} | R Documentation |
Retrieve a list of negative control-based groups from a flowPlate, based on the information in wellAnnotation.
getGroups(data,type="Negative.Control",chan, ...)
data |
A flowPlate dataset. |
type |
Currently only Negative.Control groups are supported. |
chan |
Fluorescence channel of interest ("FL1-H", "PE-H", etc.) |
... |
optional arguments |
Returns a list of groups, where each group contains a single negative control well and the associated test well for a particular channel.
Errol Strain
library(plateCore) data(plateCore) # Create a flowPlate from the sample data in plateCore fp <- flowPlate(pbmcPlate,wellAnnotation,plateName="P1") # Create a set of negative control gates and then apply them negCon <- getGroups(fp,chan="FL1-H") negCon[1:2]