createQuadrantGate.Rd
Creates a quadrant gate. Quadrant gates have four sectors (upper-right, upper-left, lower-left, lower-right), each with a name and unique gid.
createQuadrantGate(
experimentId,
xChannel,
yChannel,
name,
x,
y,
labels = NULL,
gid = generateId(),
gids = replicate(4, generateId()),
parentPopulationId = NULL,
tailoredPerFile = FALSE,
fcsFileId = NULL,
locked = FALSE,
createPopulations = is.null(fcsFileId)
)
The ID of the experiment to which to add the gate, or a
byName
expression.
The name of the x channel to which the gate applies.
The name of the y channel to which the gate applies.
The name of the gate. Each sector is named with this parameter and a quadrant flag (UR, UL, LL, LR).
The x coordinate (after the channel's scale has been applied).
The y coordinate (after the channel's scale has been applied).
Positions of the quadrant labels. A list of four length-2 vectors in the order: UR, UL, LL, LR. These are set automatically to the plot corners.
Top-level group ID of the gate, used for tailoring. If this is not specified, then a new Group ID will be created. For compound gates, "gid" refers to the top-level GID. Each sector has a unique model gid and name to which populations must refer.
Group IDs of each sector, assigned to model.gids.
ID of the parent population or a byName
expression. Use UNGATED
for the "ungated" population. Only used if
createPopulation
is TRUE
.
Whether or not this gate is tailored per FCS file.
ID of FCS file or a byName
expression, if tailored
per file. Use NULL
for the global gate in a tailored gate group.
Prevents modification of the gate via the web interface.
Automatically create corresponding populations.
Specify parentPopulationId
if set to TRUE
. Because R performs
partial matching of argument names, this can also be specified as
createPopulation
for consistency with the other create__Gate
functions.
if (FALSE) { # \dontrun{
createQuadrantGate(experimentId, "FSC-A", "FSC-W", "my gate", 160000, 200000)
} # }