[,ncdfFlowSet,ANY-method {ncdfFlow} | R Documentation

## subsetting by sampleNames,channels(not for events) methods

### Description

similar to `[`.

### Usage

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

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

### Arguments

`x` | `ncdfFlowSet`
`i` | sample index(or name)
`j` | column(or channel) index (or name)
`...` | other arguments not used
`drop` | `logical` not used.

### Examples

    data(GvHD)
    nc <- ncdfFlowSet(GvHD[1:2])
    samples <- sampleNames(nc)
    nc[1]
    nc1 <- nc[samples[1]]
    #nc1 and nc share the cdf file
    all.equal(getFileName(nc1), getFileName(nc))

[Package ncdfFlow version 2.32.0 Index]