Learn R Programming

flowStats (version 3.30.0)

autoGate: Automated gating of single populations in 2D

Description

This function tries to fit a single norm2Filter based on a rough preselection of the data. This function is considered internal. Please use the API provided by lymphGate.

Usage

autoGate(x, ..., scale = 2.5)

Arguments

x
An object of class flowSet
...
Named arguments or a list of the ranges used for the initial rough preselection. This gets passed on to rectangleGate, see it's documentation for details.
scale
The scale parameter that gets passed on to norm2Filter.

Value

A list with items:
x
The filtered flowSet.
n2gate
The norm2Filter object.
n2gateResults
The filterResult after applying the norm2Filter on the flowSet.

Details

The flowSet is first filtered using a rectangleGate and the norm2Filter is subsequently fitted to the remaining subset.

See Also

lymphGate, norm2Filter

Examples

Run this code

data(GvHD)
flowStats:::autoGate(GvHD[10:15], "FSC-H"=c(100,500), "SSC-H"=c(0, 400))

Run the code above in your browser using DataLab