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

Description Usage Arguments See Also Examples

View source: R/remove_pop.R

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

1

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

1
2
3
4
5
6
7
## 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) 

openCyto documentation built on Nov. 8, 2020, 5:40 p.m.