gate_null: clear all the geom_gate() layer previously added

View source: R/geom_gate.R

gate_nullR Documentation

clear all the geom_gate() layer previously added

Description

clear all the geom_gate() layer previously added

Usage

gate_null()

Examples

dataDir <- system.file("extdata",package="flowWorkspaceData")
gs <- load_gs(list.files(dataDir, pattern = "gs_manual",full = TRUE))
#autoplot display pop stats by default
p <- autoplot(gs, "CD4")
#it is easy to remove the default gate
p <- p + gate_null()
#and add a new one
p <- p + geom_gate("CD8")
p

RGLab/ggcyto documentation built on March 3, 2024, 6:23 p.m.