Learn R Programming

tidygate (version 1.0.14)

gate_programmatic: Programmatically gate data with pre-recorded lasso selection coordinates

Description

A helpful way to repeat previous interactive lasso selections to enable reproducibility. Programmatic gating is based on the package [gatepoints](https://github.com/wjawaid/gatepoints) by Wajid Jawaid.

Usage

gate_programmatic(x, y, programmatic_gates)

Value

A vector of strings, of the gates each X and Y coordinate pair is within.

Arguments

x

A vector representing the X dimension.

y

A vector representing the Y dimension.

programmatic_gates

A `data.frame` of the gate brush data, as saved in `tidygate_env$gates`. The column `x` records X coordinates, the column `y` records Y coordinates and the column `.gate` records the gate number.