The main purpose of this API is to convert the archived data (stored in ncdfFlowSet) to flowSet
when the speed is more concerned than memory effieciency.
Although ncdfFlowSet is designed to minimize the disk-IO cost, so usually it is not necessary to do such coersion.
Usage
as.flowSet(from, top)
Arguments
from
a ncdfFlowSet
top
integer specifies a certain number of samples are evenly selected for the coersion.
If this argument is missing, then coerce all the samples within the ncdfFlowSet.
It is to be used with caution because it can incur the huge memory consumption given the flowSet is all-in-memory data structure.
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(ncdfFlow)
Loading required package: flowCore
Loading required package: flowViz
Loading required package: lattice
Loading required package: RcppArmadillo
Loading required package: BH
> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/ncdfFlow/as.flowSet.Rd_%03d_medium.png", width=480, height=480)
> ### Name: as.flowSet
> ### Title: convert from a 'ncdfFlowSet' to a 'flowSet'
> ### Aliases: as.flowSet
>
> ### ** Examples
>
> data(GvHD)
> nc1 <- ncdfFlowSet(GvHD[1:4])
write s5a01 to empty cdf slot...
write s5a02 to empty cdf slot...
write s5a03 to empty cdf slot...
write s5a04 to empty cdf slot...
> fs <- as.flowSet(nc1)
>
>
>
>
>
> dev.off()
null device
1
>