Description Usage Arguments Value Author(s) Examples
View source: R/gatingTemplate-modifiers.R
Remove Gate(s) and Edit gatingTemplate csv File
1 | gate_remove(gs, alias = NULL, gatingTemplate = NULL)
|
gs |
an object of class |
alias |
name(s) of the population(s) to remove (e.g. "Single Cells"). By default all descendant populations will be removed as well. |
gatingTemplate |
name of the |
an object of class gatingSet
with gate and children removed,
as well as gatingTemplate file with population removed.
Dillon Hammill, Dillon.Hammill@anu.edu.au
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | ## Not run:
library(CytoRSuiteData)
# Load in samples
fs <- Activation
gs <- GatingSet(fs)
# Apply compensation
gs <- compensate(gs, fs[[1]]@description$SPILL)
# Transform fluorescent channels
trans <- estimateLogicle(gs[[4]], cyto_fluor_channels(gs))
gs <- transform(gs, trans)
# Gate using gate_draw
gt <- Activation_gatingTemplate
gating(gt, gs)
# Remove T Cells population - replace gatingTemplate name
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.