Learn R Programming

flowWorkspace (version 3.16.0)

GatingSet,character,character-method: constructors for GatingSet

Description

construct object from xml workspace file and a list of sampleIDs (not intended to be called by user.)

construct a gatingset with empty trees (just root node)

construct object from existing gating hierarchy(gating template) and flow data

Usage

"GatingSet"(x, y, guids, includeGates = FALSE, sampNloc = "keyword", xmlParserOption, wsType)
"GatingSet"(x)
"GatingSet"(x, y, path = ".", ...)

Arguments

x
character or flowSet or GatingHierarchy
y
character ormissing
guids
character vectors to uniquely identify each sample (Sometime FCS file names alone may not be unique)
includeGates
logical whether to parse the gates or just simply extract the flowJo stats
sampNloc
character scalar indicating where to get sampleName(or FCS filename) within xml workspace. It is either from "keyword" or "sampleNode".
xmlParserOption
integer option passed to xmlTreeParse
wsType
character workspace type, can be value of "win", "macII", "vX", "macIII".
path
character specifies the path to the flow data (FCS files)
...
other arguments. see parseWorkspace

Examples

Run this code
## Not run: 
# #fdata could be a flowSet or ncdfFlowSet
# gs <- GatingSet(fdata)
# ## End(Not run)

Run the code above in your browser using DataLab