View source: R/cyto_gate-helpers.R
cyto_gate_type | R Documentation |
Get Gate Type from Saved Gate.
cyto_gate_type(gates)
gates |
an object of class |
vector of gate type names for supplied gates.
Dillon Hammill, Dillon.Hammill@anu.edu.au
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) # Get gate type used for T Cells gate cyto_gate_type(gs_pop_get_gate(gs, "Cells")[[1]]) cyto_gate_type(gs_pop_get_gate(gs, "T Cells")[[1]]) cyto_gate_type(gs_pop_get_gate(gs, "CD69+ CD4 T Cells")[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.