The helper gates are defined as the referred gates in csv template. And all the chidlren of referred gates are also referred gates thus they are considered the helper gates and can usually be hidden to simply the final gating tree.

gt_toggle_helpergates(gt, gs)

gt_get_helpergates(gt, gs)

gt_delete_helpergates(gt, gs)

## Arguments

gt gatingTemplate object GatingSet

## Details

Note that delete action is NOT reversible.

## Examples

if (FALSE) {
gt <- gatingTemplate(gtFile)
#run the gating
gt_gating(gt, gs)
#hide the gates that are not of interest
gt_toggle_helpergates(gt, gs)
#or simply remove them if you are sure they will not be useful in future
gt_delete_helpergates(gt, gs)
}