gate_programmatic: Get points within a user drawn gate

Description Usage Arguments Value

Description

Get points within a user drawn gate

Usage

1
gate_programmatic(.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


tidygate documentation built on Jan. 20, 2022, 5:12 p.m.