save/load a GatingSet/GatingSetList to/from disk.

Description

Save/load a GatingSet/GatingSetList which is the gated flow data including gates and populations to/from the disk. The GatingSet object The internal C data structure (gating tree),ncdfFlowSet object(if applicable)

Usage

1
2
3
4
5
6
7
8
save_gs(G, path, overwrite = FALSE, cdf = c("copy", "move", "skip",
  "symlink", "link"), ...)

load_gs(path)

save_gslist(gslist, path, ...)

load_gslist(path)

Arguments

G

A GatingSet

path

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

overwrite

A logical scalar specifying whether to overwrite the existing folder.

cdf

a character scalar. The valid options are :"copy","move","skip","symlink","link" specifying what to do with the cdf data file. Sometime it is more efficient to move or create a link of the existing cdf file to the archived folder. It is useful to "skip" archiving cdf file if raw data has not been changed.

...

other arguments: not used.

gslist

A GatingSetList

Value

load_gs returns a GatingSet object load_gslist returns a GatingSetList object

See Also

GatingSet-class,GatingSetList-class

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
	#G is a GatingSet
	save_gs(G,path="tempFolder")
	G1<-load_gs(path="tempFolder")

	#G is a GatingSet

	save_gslist(gslist1,path="tempFolder")
	gslist2<-load_gslist(path="tempFolder")

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.