View source: R/createQuadrantGate.R
createQuadrantGate | R Documentation |
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)
)
experimentId |
The ID of the experiment to which to add the gate, or a
|
xChannel |
The name of the x channel to which the gate applies. |
yChannel |
The name of the y channel to which the gate applies. |
name |
The name of the gate. Each sector is named with this parameter and a quadrant flag (UR, UL, LL, LR). |
x |
The x coordinate (after the channel's scale has been applied). |
y |
The y coordinate (after the channel's scale has been applied). |
labels |
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. |
gid |
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. |
gids |
Group IDs of each sector, assigned to model.gids. |
parentPopulationId |
ID of the parent population or a |
tailoredPerFile |
Whether or not this gate is tailored per FCS file. |
fcsFileId |
ID of FCS file or a |
locked |
Prevents modification of the gate via the web interface. |
createPopulations |
Automatically create corresponding populations.
Specify |
## Not run:
createQuadrantGate(experimentId, "FSC-A", "FSC-W", "my gate", 160000, 200000)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.