save_cytoset: save/load a cytoset to/from disk.

View source: R/cytoset.R

save_cytosetR Documentation

save/load a cytoset to/from disk.

Description

load_cytoset() can load a cytoset from either the archive previously saved by save_cytoset() call or from a folder that contains a collection of inidivudal cytoframe files (either in h5 format or tiledb format)

Usage

save_cytoset(cs, path, ...)

load_cytoset(path, verbose = FALSE, ...)

Arguments

cs

A cytoset

path

A character scalar giving the path to save/load the cytoset to/from.

...

other arguments passed to save_gs/load_gs

verbose

whether to print details. Default is FALSE.

Value

load_cytoset returns a cytoset object

Examples

## Not run: 
	#cs is a cytoset
	save_cytoset(cs, outdir)
	cs <-load_cytoset(outdir)

#or from cytoframe on-disk files
# e.g. h5_dir contains the cytoframes in h5 format
cs <- load_cytoset(h5_dir)


## End(Not run)

RGLab/flowWorkspace documentation built on March 17, 2024, 2:24 p.m.