Learn R Programming

flowWorkspace (version 3.16.0)

clone: clone a GatingSet

Description

clone a GatingSet

Usage

clone(x, ...)

Arguments

x
A GatingSet
...
ncdfFile = NULL: see clone.ncdfFlowSet

Value

A copy of a given GatingSet.

Details

Note that the regular R assignment operation on a GatingSet object does not return the copy as one would normally expect because the GatingSet contains environment slots (and external pointer for GatingSet), which require deep-copying. So make sure to use this clone method in order to make a copy of existing object.

Examples

Run this code
## Not run: 
#     #G is  a GatingSet
#     G1<-clone(G)
# 
#   ## End(Not run)

Run the code above in your browser using DataLab