Description Usage Arguments Value Author(s) Examples
This function return a log scale to be used on your FACS plots
1 |
dataRange |
Range of your data (number of data points in the FACS) |
logDecades |
Number of log decades in the FACS |
doScale |
Scale according to dataRange and logDecades: scale.factor = dataRange / logDecades |
Return a list
with 3 elements:
major |
Position of the Major ticks |
all |
Position of the All ticks |
label |
Labels for Major Ticks |
Davide Rambaldi
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | if(require(flowFitExampleData)){
# using flowViz
# load data
data(PKH26data)
# plot data
plot(PKH26data[[1]], "FL2-Height LOG", axes=FALSE, breaks=1024)
# create ticks
my.ticks <- logTicks(1024,4)
# plot your ticks
axis(1,my.ticks$all,label=FALSE)
axis(1,at=my.ticks$major,labels=my.ticks$labels)
axis(2)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.