logTicks {flowFit} | R Documentation |
This function return a log scale to be used on your FACS plots
logTicks(dataRange, logDecades, doScale = TRUE)
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
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) }