Learn R Programming

ncdfFlow (version 2.18.0)

[[,ncdfFlowSet,ANY-method: extract a flowFrame object from ncdfFlowSet

Description

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

Usage

"[["(x, i, j, use.exprs = TRUE, ...)
"[["(x, i, j, ...)
"[["(x, i, j, ...)
"[["(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

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

Run the code above in your browser using DataLab