extractFlowFrame: extract a 'flowFrame' object from 'ncdfFlowSet'

Description Usage Arguments Examples

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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]]

ncdfFlow documentation built on Nov. 8, 2020, 7:52 p.m.