clone {flowWorkspace} | R Documentation

## clone a GatingSet

### Description

clone a GatingSet

### Usage

    clone(x, ...)

### Arguments

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

### 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.

### Value

A copy of a given `GatingSet`.

### Examples

      ## Not run:
        #G is  a GatingSet
        G1<-clone(G)

    ## End(Not run)

[Package flowWorkspace version 3.28.2 Index]