transform,filter-method {ggcyto}R Documentation

rescale methods for gates

Description

rescale the gate coordinates with the transformation provided

Usage

## S4 method for signature 'filter'
transform(`_data`, ...)

## S4 method for signature 'filterList'
transform(`_data`, ...)

rescale_gate(gate, trans, param)

## S3 method for class 'polygonGate'
rescale_gate(gate, trans, param)

## S3 method for class 'ellipsoidGate'
rescale_gate(gate, ...)

## S3 method for class 'rectangleGate'
rescale_gate(gate, trans, param)

## S3 method for class 'quadGate'
rescale_gate(gate, trans, param)

Arguments

_data

the filter or filterList object. Currently support polygonGate, ellipsoidGate, rectangleGate and quadGate.

...

trans the transformation function or transformList object param the parameter/dimension to be transformed. When trans is transformList object, param is not needed since it is derived from transformList.

gate

gate object

trans

the transformation function

param

the parameter/dimension to be transformed.

Value

the transformed filter/filterList object


[Package ggcyto version 1.14.1 Index]