set_scatter_gate: Set a polygon gate

View source: R/fun.R

set_scatter_gateR Documentation

Set a polygon gate

Description

Set a polygon gate

Usage

set_scatter_gate(
  gating_set = gs,
  gate_coordinates = c(1000, 150000, 1000, 1e+05, 12000, 1e+05, 12000, 150000),
  gate_name = "scatter",
  dimensions = c("FSC-A", "SSC-A"),
  parent = "root"
)

Arguments

gating_set

a gating set

gate_coordinates

a vector of points in the format "c(x1, y1, x2, y2 . . . " and so on

gate_name

the name by which you will call the gate

dimensions

the X and Y parameters of the gate (in that order) as strings in a list

parent

a string; the name of the parent gate

Value

filter

Examples

## Not run: 
set_scatter_gate(gating_set = gs,
                 gate_coordinates = c(2.0e+04, 2.0e+04,
                                      1.4e+04, 1.5e+04,
                                      1.4e+04, 0.2e+04,
                                      3.0e+04, 0.2e+04,
                                      3.0e+04, 2.0e+04),
                 gate_name = "scatter")

## End(Not run)

jonesnoaht/BTIPFlow documentation built on Feb. 20, 2024, 8:45 a.m.