gate_int.numeric: gate_int

View source: R/methods.R

gate_int.numericR Documentation

gate_int

Description

gate_int

Usage

## S3 method for class 'numeric'
gate_int(
  .dim1,
  .dim2,
  .color = NULL,
  .shape = NULL,
  .size = NULL,
  opacity = 1,
  how_many_gates = 1,
  .group_by = NULL,
  gate_list = NULL,
  ...
)

Arguments

.dim1

A column symbol. The x dimension

.dim2

A column symbol. The y dimension

.color

A column symbol. Colour of points

.shape

A column symbol. Shape of points

.size

A column symbol. Size of points

opacity

A number between 0 and 1. The opacity level of the data points

how_many_gates

An integer. The number of gates to label

.group_by

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

gate_list

A list of gates. It is returned by gate function as attribute \"gate\". If you want to create this list yourself, each element of the list is a data frame with x and y columns. Each row is a coordinate. The order matter.

...

Further parameters passed to the function gatepoints::fhs

Value

An integer vector, with 0 for elements outside gates and 1..N for the elements inside the N gates.


stemangiola/tidygate documentation built on Nov. 19, 2023, 7:31 a.m.