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

## extract a `flowFrame` object from `ncdfFlowSet`

### Description

Simliar to `[[`, and there are cerntain ways to reduce the disk IO and optimize the speed.

### Usage

    ## S4 method for signature 'ncdfFlowSet,ANY'
    x[[i, j, use.exprs = TRUE, ...]]

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

    ## S4 method for signature 'ncdfFlowList,logical'
    x[[i, j, ...]]

    ## S4 method for signature 'ncdfFlowList,character'
    x[[i, j, ...]]

### Arguments

`x` | a `ncdfFlowSet` or `ncdfFlowList`
`i` | a `numeric` or `character` used as sample index
`j` | a `numeric` or `character` used as channel index
`use.exprs` | a `logical` scalar indicating whether to read the actual data from cdf
`...` | other arguments. not used.

### Examples

    data(GvHD)
    nc <- ncdfFlowSet(GvHD[1:2])
    samples <- sampleNames(nc)
    sn <- samples[1]
    #return the entire flowFrame
    fr <- nc[[sn]]

    #access the flowFrame meta data without loading the raw event data from disk
    nc[[sn, use.exprs = FALSE]]

    #only read a subset of channels (more efficient than reading entire data set)
    nc[[sn, 1:2]]

[Package ncdfFlow version 2.34.0 Index]