autoGate {flowStats} | R Documentation

## 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`.

### Details

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

### Value

A list with items:

`x` | The filtered `flowSet`.
`n2gate` | The `norm2Filter` object.
`n2gateResults` | The `filterResult` after applying the `norm2Filter` on the `flowSet`.

### Author(s)

Florian Hahne

### See Also

`lymphGate`, `norm2Filter`

### Examples

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

[Package flowStats version 1.2.0 Index]