Learn R Programming

cellGrowth (version 1.16.0)

plot.cellGrowthFit: Generic plot function for datatype cellGrowthFit

Description

Plot of a growth curve showing raw data and fitted curve

Usage

plot.cellGrowthFit(x, scaleX = 1, xlab = "time", ylab = "log2(OD)", lwd = 0.5, ...)

Arguments

x
growth curve object. See fitCellGrowth
scaleX
scalar affecting the scaling of the x-axis.
xlab
plot parameter
ylab
plot parameter
lwd
plot parameter
...
optional plot parameters passed to the plot function

Examples

Run this code
# Parse file
dat = readYeastGrower( system.file("extdata", "Plate1_YPFruc.txt", package="cellGrowth") )

# fit
n <- names( dat$OD)[36]
fit <- fitCellGrowth(x=dat$time,z=log2(dat$OD[[n]]), model = "locfit")
plot(fit)

Run the code above in your browser using DataLab