Learn R Programming

flowFit (version 1.10.0)

proliferationGrid: proliferationGrid function for plotting

Description

This function draw a proliferation grid. The grid marks the distance between cell generations calculated with the function generationsDistance

Usage

proliferationGrid(parentPosition, fittedDistance = NA, dataRange = 1024, logDecades = 4, lwd=1, lty=3, col=rgb(0,0,0,0.5))

Arguments

parentPosition
Position of the parent Peak from parentFitting
fittedDistance
You can provide the distance estimated from the proliferationFitting function
dataRange
Range of your data (number of data points in the FACS)
logDecades
Number of log decades in the FACS
lwd
Grid line size. See par
lty
Grid line type. See par
col
Grid color. See par and rgb

Examples

Run this code
  plot(c(0,1023),c(0,1000), 
       xlim=c(0,1023),
       ylim=c(0,1000),  
       xlab="FACS CHANNEL", 
       ylab="# OF EVENTS", 
       main="A flowFit Empty Plot")
       
  # create a grid with parent at 800
  proliferationGrid(1000, dataRange=1024, logDecades=4)

Run the code above in your browser using DataLab