Description Usage Arguments Value Author(s) Examples
View source: R/gatingTemplate-modifiers.R
Get Gate Type from Saved Gate.
1 | gate_type(gates)
|
gates |
an object of class |
vector of gate type names for supplied gates.
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 | 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)
# Get gate type used for T Cells gate
gate_type(getGate(gs, "Cells")[[1]])
gate_type(getGate(gs, "T Cells")[[1]])
gate_type(getGate(gs, "CD69+ CD4 T Cells")[[1]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.