Learn R Programming

ncdfFlow (version 2.18.0)

[,ncdfFlowSet,ANY-method: subsetting by sampleNames,channels(not for events) methods

Description

similar to [.

Usage

"["(x, i, j, ..., drop = FALSE)
"["(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

Run this code
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))

Run the code above in your browser using DataLab