gs_remove_gating_method {openCyto} | R Documentation

## Reverse the action of gating methods applied via `gs_add_gating_method`

### Description

This function provides an easy way to remove the gates and nodes created by the most recent call to `gs_add_gating_method` on the specified `GatingSet` or `GatingSetList`, with a separate history being maintained for each such object. `gs_remove_gating_method` allows for repeated use, effectively serving as a multi-level undo function for `gs_add_gating_method`.

### Usage

    gs_remove_gating_method(gs)

### Arguments

`gs` | The `GatingSet` or `GatingSetList` for which the most recent `gs_add_gating_method` call should be reversed.

### See Also

`gs_add_gating_method` `gs_add_gating_method_init`

### Examples

    ## Not run:
     # add quad gates
     gs_add_gating_method(gs, gating_method = "mindensity", dims = "CCR7,CD45RA", parent = "cd4-cd8+", pop = "CCR7+/-CD45RA+/-")
     # Remove the gates and nodes resulting from that gs_add_gating_method call
     gs_remove_gating_method(gs)

    ## End(Not run)

[Package openCyto version 2.6.0 Index]