logTicks {flowFit}R Documentation

Generate logTicks for FACS plotting

Description

This function return a log scale to be used on your FACS plots

Usage

  logTicks(dataRange, logDecades, doScale = TRUE)

Arguments

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

Value

Return a list with 3 elements:

major

Position of the Major ticks

all

Position of the All ticks

label

Labels for Major Ticks

Author(s)

Davide Rambaldi

Examples


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)
}

[Package flowFit version 1.22.0 Index]