cyto_gate_type: Get Gate Type from Saved Gate.

Description Usage Arguments Value Author(s) Examples

View source: R/cyto_gate-helpers.R

Description

Get Gate Type from Saved Gate.

Usage

1

Arguments

gates

an object of class filters containing the gates from which the type(s) must be obtained.

Value

vector of gate type names for supplied gates.

Author(s)

Dillon Hammill, Dillon.Hammill@anu.edu.au

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
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]])

DillonHammill/CytoExploreR documentation built on July 9, 2020, 1:53 a.m.