scale_x_flowCore_fasinh: Add a flowCore inverse hyperbolic sine scale to the x or y...

View source: R/scales_flowCore_fasinh.R

scale_x_flowCore_fasinhR Documentation

Add a flowCore inverse hyperbolic sine scale to the x or y axes of a ggcyto plot.

Description

Add a flowCore inverse hyperbolic sine scale to the x or y axes of a ggcyto plot.

Usage

scale_x_flowCore_fasinh(..., a = 1, b = 1, c = 0)

scale_y_flowCore_fasinh(..., a = 1, b = 1, c = 0)

Arguments

...

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

a, b, c

see 'help(arcsinhTransform')

Value

ScaleContinuous object

Examples

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_flowCore_fasinh(a = 2)

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