cyto_gate_convert: Convert Between 1D and 2D Gate Objects

View source: R/cyto_gate-helpers.R

cyto_gate_convertR Documentation

Convert Between 1D and 2D Gate Objects

Description

Useful function to convert between 1D and 2D gate objects.

Returns a list of modified gate objects with appropriate dimensions.

Usage

## S3 method for class 'rectangleGate'
cyto_gate_convert(x, channels = NULL, ...)

## S3 method for class 'polygonGate'
cyto_gate_convert(x, channels = NULL, ...)

## S3 method for class 'ellipsoidGate'
cyto_gate_convert(x, channels = NULL, ...)

## S3 method for class 'quadGate'
cyto_gate_convert(x, channels = NULL, ...)

## S3 method for class 'filters'
cyto_gate_convert(x, channels = NULL, ...)

## S3 method for class 'list'
cyto_gate_convert(x, channels = NULL, ...)

cyto_gate_prepare(x, channels = NULL)

Arguments

x

gate object(s) to be converted.

channels

indicates the required dimensions of the gate for plotting.

...

not in use.

Value

modified gate object with appropriate dimensions.

a list of unique modified gate objects.

Author(s)

Dillon Hammill, Dillon.Hammill@anu.edu.au

Dillon Hammill, Dillon.Hammill@anu.edu.au


DillonHammill/CytoExploreR documentation built on March 2, 2023, 7:34 a.m.