+.ggcyto_GatingLayout {ggcyto}R Documentation

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

## S3 method for class 'ggcyto_GatingLayout'
e1 + e2

## S4 method for signature 'ggcyto_GatingLayout,ANY'
e1 + e2

Arguments

e1

ggcyto_gate_layout

e2

any ggplot layer

Value

a modified ggcyto_gate_layout object

a GatingLayout object

Examples

#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))

[Package ggcyto version 1.14.1 Index]