gs_remove_gating_method: Reverse the action of gating methods applied via...

View source: R/remove_pop.R

gs_remove_gating_methodR 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) 

RGLab/openCyto documentation built on Nov. 7, 2024, 9:23 p.m.