gate_programmatic_old: Get points within a user drawn gate

gate_programmatic_oldR Documentation

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",
  ...
)

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

Value

A tibble with additional columns


stemangiola/tidygate documentation built on Sept. 17, 2024, 10:43 p.m.