remove_pop {openCyto}R Documentation

Reverse the action of gating methods applied via add_pop

Description

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

Usage

remove_pop(GatingSet)
remove_pop(GatingSetList)

Arguments

gs

The GatingSet or GatingSetList for which the most recent add_pop call should be reversed.

See Also

add_pop add_pop_init

Examples

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

## End(Not run) 

[Package openCyto version 1.22.0 Index]