axis_x_inverse_trans: Display ggcyto axis labels using their raw values (as stored...

View source: R/axis_inverse_trans.R

axis_x_inverse_transR Documentation

Display ggcyto axis labels using their raw values (as stored in the data structure)

Description

It is essentially a dummy continous scale and will be instantiated by '+.ggcyto_GatingSet' with 'breaks‘ and ’lables' customized.

Usage

axis_x_inverse_trans(...)

axis_y_inverse_trans(...)

Arguments

...

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

Value

a raw_scale object that inherits scale class.

Examples

 dataDir <- system.file("extdata",package="flowWorkspaceData")
 gs <- load_gs(list.files(dataDir, pattern = "gs_manual",full = TRUE))
 p <- ggcyto(gs, aes(x = CD4, y = CD8), subset = "CD3+") + geom_hex(bins = 64)
 p <- p + geom_gate("CD4") + geom_stats() #plot CD4 gate and it is stats
 p
 p + axis_x_inverse_trans() #inverse transform the x axis into raw scale

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