scale_x_logicle: Add a logicle scale to the x or y axes of a ggcyto plot.

Description Usage Arguments Value Examples

View source: R/scales_logicle.R

Description

Add a logicle scale to the x or y axes of a ggcyto plot.

Usage

1
2
3
scale_x_logicle(..., w = 0.5, t = 262144, m = 4.5, a = 0)

scale_y_logicle(..., w = 0.5, t = 262144, m = 4.5, a = 0)

Arguments

...

common continuous scale parameters passed to 'continuous_scale' (not used currently)

w, t, m, a

see 'help(logicleTransform')

Value

ScaleContinuous object

Examples

1
2
3
4
5
6
7
data(GvHD)
fr <- GvHD[[1]]
p <- ggcyto(fr, aes(x = `FL1-H`)) + geom_density()
#display at raw scale
p 
#display at transformed scale
p + scale_x_logicle(t = 1e4)

Example output

Loading required package: ggplot2
Loading required package: flowCore
Loading required package: ncdfFlow
Loading required package: RcppArmadillo
Loading required package: BH
Loading required package: flowWorkspace
As part of improvements to flowWorkspace, some behavior of
GatingSet objects has changed. For details, please read the section
titled "The cytoframe and cytoset classes" in the package vignette:

  vignette("flowWorkspace-Introduction", "flowWorkspace")

ggcyto documentation built on Nov. 8, 2020, 5:30 p.m.