plotfit: Plot fitted values

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/screen.R

Description

The functions plotfit and plotk plot the fitted values and the transition functions across time.

Usage

1
2
plotfit(spot, p=pheno[spot,], showfit=TRUE, legend="topleft", kk=NULL, cex=1, kcol='#ffaa77', lwd=1, xlab="Time after cell seeding (h)", ylab="Number of cells", ...)
plotk(spot, p=pheno[spot,], kk=c("kim"), height, kcol, lwd=1, xlab="Time after seeding (h)", ylab=kk, type='l', ...)

Arguments

spot

A numeric indicating a spot ID, synchronised with the global Mitocheck tab object.

p

A vector of 10 numeric parameters, such as returned by getp0 or fitmodel, containing the fitted parameters. Default are the previously fitted parameters in the pheno matrix.

showfit

A logical. If TRUE, the fitted data is plotted over the cell count time series. Default is TRUE.

kk

A character vector containing the transition rates to plot. Values can be kim, kmi, kmp or kd.

kcol

A named vector of colors for inflection points. Names take the same values as kk.

legend, cex, lwd, xlab, ylab, height, type, ...

Graphical parameters, see par.

Details

The function plotfit plots the cell count times series and the fitted data. The function plotk plots the transition rate functions.

Value

No values.

Author(s)

Gregoire Pau, pau.gregoire@gene.com, 2012

See Also

fitmodel, loadFittedData

Examples

1
2
3
4
5
 ## load previously fitted data
 loadFittedData()

 ## plot fitted data
 plotfit(156205)

mitoODE documentation built on Aug. 12, 2020, 2 a.m.