[ subsets a GatingSet or GatingSetList using the familiar bracket notation

[[ extracts a GatingHierarchy object from a GatingSet.

# S4 method for GatingSet,ANY,ANY,ANY
[(x, i, j, ..., drop = TRUE)

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