Learn R Programming

tidygate (version 1.0.14)

gate_programmatic_old: Get points within a user drawn gate

Description

Get points within a user drawn gate

Usage

gate_programmatic_old(
  .data,
  .element,
  .dim1,
  .dim2,
  gate_list,
  name = "gate",
  ...
)

Value

A tibble with additional columns

Arguments

.data

A tibble

.element

A column symbol. The column that is used to calculate distance (i.e., normally genes)

.dim1

A column symbol. The x dimension

.dim2

A column symbol. The y dimension

gate_list

A list of gates. Each element of the list is a data frame with x and y columns. Each row is a coordinate. The order matter.

name

A character string. The name of the new column

...

Further parameters passed to the function gatepoints::fhs