gate_programmatic {tidygate} | R Documentation |
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)
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. |
Value
A vector of strings, of the gates each X and Y coordinate pair is within.
[Package tidygate version 1.0.13 Index]