This is a thin wrapper around the flowCore functions for logicle scaling that's suitable for use with ggplot2.
To use:
install.packages("devtools")
source("https://bioconductor.org/biocLite.R"); biocLite("flowCore")
devtools::install_github("tdsmith/logiclescale")
ggplot(my_data, aes(CD4)) + geom_density() + scale_x_continuous(trans=logiclescale::logicle_trans())
You can pass w, t, and m arguments to logicle_trans
to configure the transformation; see ?flowCore::logicletGml2
for more information.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.