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

Returns a list of modified gate objects with appropriate dimensions.

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

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

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

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

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

# S3 method for 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

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

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