[,GatingSet,ANY,ANY,ANY-method {flowWorkspace} | R Documentation

## Bracket operators on `GatingSet` and `GatingSetList` objects

### Description

`[` subsets a `GatingSet` or `GatingSetList` using the familiar bracket notation

`[[` extracts a `GatingHierarchy` object from a `GatingSet`.

### Usage

    ## S4 method for signature 'GatingSet,ANY,ANY,ANY'
    x[i, j, ..., drop = TRUE]

    ## S4 method for signature 'GatingSet,numeric'
    x[[i, j, ...]]

### Arguments

`x` | a `GatingSet` or `GatingSetList`
`i` | `numeric` or `logical` or `character` used as sample indices
`j, ..., drop` | unused

### Value

The `[` operator returns an object of the same type as `x` corresponding to the subset of indices in i, while the `[[` operator returns a single `GatingHierarchy`

[Package flowWorkspace version 4.2.0 Index]