Learn R Programming

cellGrowth (version 1.16.0)

plotPlate: Plot of a well plate

Description

Plot of a well plate directly from a file using a lattice xyplot

Usage

plotPlate(file, labels = NULL, fileParser = readYeastGrower, getWellIds = getWellIdsTecan, calibration = identity, extractRowColumn = getRowColumn, cex = 0.05, scaleX = 1, scaleY = log2, strip.lines = 1.05, strip.cex = 0.8, xlab = "time", ylab = "log2(OD)", main = basename(file), scales = list(x = list(rot = 45)), ...)

Arguments

file
file name
labels
vector of characters indicating the label of the wells
fileParser
the file parser which reads the file generated by the machine
getWellIds
function or vector. If getWellIds is a function its parameter is the parsed data of the file parsed by fileParser. It should return a vector containing the well identifiers, e.g. A01, A02, .. You can as well set the well identifiers as a vector directly
calibration
calibration function applied to the raw data (before scaleY is applied)
extractRowColumn
function which converts well identifiers into row and column names
cex
plot parameter
scaleX
factor which scales the x-axis
scaleY
function how to convert the y-axis ( e.g. log2 )
strip.lines
height in lines of the labels
strip.cex
text-size of the labels
xlab
plot parameter
ylab
plot parameter
main
plot parameter
scales
plot parameter
...
optional plot parameter. See details

Details

All plot parameters are passed to the xyplot function

Examples

Run this code
plotPlate( system.file("extdata", "tecan_genios.txt", package="cellGrowth"), fileParser=readGenios)

Run the code above in your browser using DataLab