Learn R Programming

ggcyto (version 1.0.5)

+.ggcyto_GatingLayout: overloaded '+' method for ggcyto_gate_layout

Description

It adds the layer specified by 'e2' to each individual ggplot object stored in ggcyto_gate_layout

Usage

"+"(e1, e2)
"+"(e1, e2)

Arguments

e1
ggcyto_gate_layout
e2
any ggplot layer

Value

a modified ggcyto_gate_layout objecta GatingLayout object

Examples

Run this code
#autplot for GatingSet
dataDir <- system.file("extdata",package="flowWorkspaceData")
gs <- load_gs(list.files(dataDir, pattern = "gs_manual",full = TRUE))
gh <- gs[[1]]
p <- autoplot(gh)
class(p)
# customize the font size of strip text for each ggcyo plots contained in GatingLayout object
p + theme(strip.text = element_text(size = 14))

Run the code above in your browser using DataLab