gating {openCyto} | R Documentation |
It applies the gates to the GatingSet based on the population tree described in graphGML.
It loads the gating methods by topological order and applies them to GatingSet
.
gating(x, y, ...) ## S4 method for signature 'gatingTemplate,GatingSet' gating(x, y, env_fct = NULL, ...) ## S4 method for signature 'gatingTemplate,GatingSetList' gating(x, y, env_fct = NULL, ...) ## S4 method for signature 'boolMethod,GatingSet' gating(x, y, ...) ## S4 method for signature 'polyFunctions,GatingSet' gating(x, y, ...) ## S4 method for signature 'refGate,GatingSet' gating(x, y, ...)
x |
a |
y |
a |
... |
|
env_fct |
a |
Nothing. As the side effect, gates generated by gating methods are saved in GatingSet
.
## Not run: gt <- gatingTemplate(file.path(path, "data/ICStemplate.csv"), "ICS") gs <- GatingSet(fs) #fs is a flowSet/ncdfFlowSet gating(gt, gs) gating(gt, gs, stop.at = "v") #proceed the gating until population 'v' gating(gt, gs, start = "v") # start from 'v' gating(gt, gs, parallel_type = "multicore", mc.cores = 8) #parallel gating using multicore #parallel gating by using cluster cl1 <- makeCluster (8, type = "MPI") gating(gt, gs, parallel_type = "cluster", cl = cl1) stopCluster ( cl1 ) ## End(Not run)