Creates an ellipse gate.

createEllipseGate(
  experimentId,
  xChannel,
  yChannel,
  name,
  x,
  y,
  angle,
  major,
  minor,
  label = c(x, y),
  gid = generateId(),
  parentPopulationId = NULL,
  tailoredPerFile = FALSE,
  fcsFileId = NULL,
  locked = FALSE,
  createPopulation = is.null(fcsFileId)
)

Arguments

experimentId

The ID of the experiment to which to add the gate, or a byName expression.

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.

x

The x centerpoint of the gate.

y

The y centerpoint of the gate.

angle

The angle of the ellipse in radians.

major

The major radius of the ellipse.

minor

The minor radius of the ellipse.

label

Position of the label. Defaults to the midpoint of the gate.

gid

Group ID of the gate, used for tailoring. If this is not specified, then a new Group ID will be created.

parentPopulationId

ID of the parent population or a byName expression. Use UNGATED for the "ungated" population. Only used if createPopulation is TRUE.

tailoredPerFile

Whether or not this gate is tailored per FCS file.

fcsFileId

ID of FCS file or a byName expression, if tailored per file. Use NULL for the global gate in a tailored gate group.

locked

Prevents modification of the gate via the web interface.

createPopulation

Automatically create corresponding population. Specify parentPopulationId if set to TRUE.

Examples

if (FALSE) { # \dontrun{
createEllipseGate(experimentId, "FSC-A", "FSC-W", "my gate", c(1, 2, 3), c(4, 5, 6))
} # }