ncdfFlow: A package that provides HDF5 based storage for cytometry data.
This package extends the flowCore infrastructure by storing the large volume of event-level data on disk as HDF format and only keeps the file handler and meta data in memory. Thus the memory consumption is significantly reduced.
INSTALLATION
# First, install it from bionconductor so that it will pull all the dependent packages automatically
library(BiocInstalller)
bicLite(ncdfFlow)
# or install the latest version from github using devtools package
install.packages("devtools")
library(devtools) #load it
install_github("RGLab/ncdfFlow", ref="trunk")
Unix/Linux/Mac users
To build the ncdfFlow package from source, make sure that HDF5 Library is present on your system:
If HDF5 is installed to some non-standard location, you may pass the environment variable –with-hdf5 to point to the correct location of HDF5, for example,
#install from github
install_github('RGLab/ncdfFlow', ref='trunk', args='--configure-args="--with-hdf5=<path-to-hdf>"')
#or install from locally downloaded tar ball
R CMD INSTALL ncdfFlow_x.y.z.tar.gz --configure-args="--with-hdf5='<path-to-hdf>'"
under ‘/path/to’, you should find “include” and “lib” sub-folders that contain HDF5 headers and shared libraries.
Also, make sure add the path of libhdf5.so (should be lib subfolder of <path-to-hdf>) to your environment variable LD_LIBRARY_PATH so that it can be found at runtime.
ncdfFlow: A package that provides HDF5 based storage for cytometry data.
This package extends the
flowCoreinfrastructure by storing the large volume of event-level data on disk asHDFformat and only keeps the file handler and meta data in memory. Thus the memory consumption is significantly reduced.INSTALLATION
Unix/Linux/Mac users
To build the ncdfFlow package from source, make sure that HDF5 Library is present on your system:
If HDF5 is installed to some non-standard location, you may pass the environment variable –with-hdf5 to point to the correct location of HDF5, for example,
under ‘/path/to’, you should find “include” and “lib” sub-folders that contain HDF5 headers and shared libraries.
Also, make sure add the path of
libhdf5.so(should belibsubfolder of<path-to-hdf>) to your environment variableLD_LIBRARY_PATHso that it can be found at runtime.Create
ncdfFlowSetobjectUse it as the same way as
flowSet(except it is memory efficient and fast)