View source: R/cyto_gate-helpers.R
cyto_gate_bool | R Documentation |
Add boolean gate to GatingSet and gatingTemplate
cyto_gate_bool(
x,
parent = NULL,
alias = NULL,
logic = NULL,
gatingTemplate = NULL
)
x |
object of class |
parent |
name of the parent population to which the boolean gates should be added, set to the most recent common ancestor by default. |
alias |
vector of names for the boolean populations. |
logic |
vector of logic to define each of the boolean populations. |
gatingTemplate |
name of the |
object of class GatingSet
with new boolean gates and updated
gatingTemplate csv file with appropriate entries.
Dillon Hammill, Dillon.Hammill@anu.edu.au
## Not run:
library(CytoExploreRData)
# Activation GatingSet
gs <- GatingSet(Activation)
# Compensation
gs <- cyto_compensate(gs)
# Transformations
gs <- cyto_transform(gs)
# Gating
gs <- cyto_gatingTemplate_apply(gs, Activation_gatingTemplate)
# Add boolean gate
gs <- cyto_gate_bool(gs,
alias = "CD4+CD8",
logic = "CD4 T Cells|CD8 T Cells")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.