subset-methods: subsetting by sampleNames,channels(not for events) methods

[,ncdfFlowSet,ANY-methodR 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))

RGLab/ncdfFlow documentation built on July 5, 2022, 10:20 a.m.