cytobank2GatingSet.default {CytoML} | R Documentation |
A wrapper that parse the gatingML and FCS files (or cytobankExperiment object) into GatingSet
## Default S3 method: cytobank2GatingSet(x, FCS, ...) cytobank2GatingSet(x, ...) ## S3 method for class 'cytobankExperiment' cytobank2GatingSet(x, ...)
x |
the cytobankExperiment object or the full path of gatingML file |
FCS |
FCS files to be loaded |
... |
other arguments |
a GatingSet
## Not run: acsfile <- system.file("extdata/cytobank_experiment.acs", package = "CytoML") ce <- cytobankExperiment(acsfile) xmlfile <- ce$gatingML fcsFiles <- list.files(ce$fcsdir, full.names = TRUE) gs <<- cytobank2GatingSet(xmlfile, fcsFiles) library(ggcyto) autoplot(gs[[1]]) ## End(Not run)