
Last chance! 50% off unlimited learning
Sale ends in
fsApply
. But the latter could cause memory issue
when FUN
returns a flowFrame
. ncdfApply
writes to a new cdf file instead of memory.
Thus it will return a ncdfFlowSet object.
"ncfsApply"(x, FUN, ..., use.exprs = FALSE, ncdfFile = NULL)
ncdfFlowSet
function
to applyFUN
logical
see fsApply
logical
wether to create a new hdf file or simply overwrite the existing file.fsApply
should be used instead.
data(GvHD)
nc <- ncdfFlowSet(GvHD[1:2])
#use fsApply when FUN does not return a flowFrame
fsApply(nc, nrow)
fsApply(nc, range)
#use ncfsApply when FUN returns a flowFrame
lgcl <- logicleTransform( w = 0.5, t= 10000, m =4.5)
translist <- transformList(c("FL1-H", "FL2-H"), lgcl)
nc1 <- ncfsApply(nc, transform, translist)
Run the code above in your browser using DataLab