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 )
Run the code above in your browser using DataLab