View source: R/cyto_gate-helpers.R
| cyto_gate_remove | R Documentation | 
Remove Gate(s) and Edit gatingTemplate csv File
cyto_gate_remove(
  gs,
  parent = NULL,
  alias = NULL,
  channels = NULL,
  type = NULL,
  gatingTemplate = NULL,
  ...
)
| gs | an object of class  | 
| parent | name of the parent population from which to remove the gate.
This argument is not necessary but is included to allow conversion of
 | 
| alias | name(s) of the population(s) to remove (e.g. "Single Cells"). By default all descendant populations will be removed as well. | 
| channels | names of the channel(s) used to gate the population. This
argument is not necessary but is included to allow conversion of
 | 
| type | gate type(s) used to for the gates to be removed. This argument
is not necessary but is included to allow conversion of
 | 
| gatingTemplate | name of the  | 
| ... | additional  | 
an object of class GatingSet with gate and children removed
and updated gatingTemplate to reflect these changes.
Dillon Hammill, Dillon.Hammill@anu.edu.au
## Not run: 
library(CytoExploreRData)
# Load in samples
fs <- Activation
gs <- GatingSet(fs)
# Apply compensation
gs <- cyto_compensate(gs)
# Transform fluorescent channels
gs <- cyto_transform(gs)
# Gate using cyto_gate_draw
gt <- Activation_gatingTemplate
gt_gating(gt, gs)
# Remove T Cells population - replace gatingTemplate name
cyto_gate_remove(gs, "T Cells", gatingTemplate = "gatingTemplate.csv")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.