numerical_r: Generates numerical fitnesses from experimental growth curve...

Description Usage Arguments Value

View source: R/qfa.R

Description

Produces model-free, slope-based fitness phenotypes from a set of timecourse cell density observations (growth curve) generated by Colonyzer, for example. This function also optionally plots experimental growth curves together with the smoothed version of the data used to generate the numerical phenotypes and a numerical estimate of the slope of the growth curve (rate of change of cell density with time).

Usage

1
numerical_r(obsdat,mkPlots=FALSE,span=0.3,nBrute=1000,cDiffDelta=0.0001,mlab="")

Arguments

obsdat

Data frame containing experimental observation of a single growth curve. This data.frame should contain a column labelled "Expt.Time" and another labelled "Growth". The output from the colonyzer.read function (filtered to contain data for a single culture) is appropriate.

mkPlots

Boolean (TRUE or FALSE) specifying whether to draw plots showing smoothed version of observed growth curve and numerical estimate of its slope.

span

Strength of smoothing parameter for Loess function

nBrute

Number of evenly spaced synthetic timepoints generated while smoothing data

cDiffDelta

Size of delta (units of time) for generating centre-difference numerical slope estimate.

mlab

Label for plots (only used if mkPlot == TRUE).

Value

A list containing four values:

Optionally (if mkPlot==TRUE) a two-panel figure showing data, smoothed version of data, numerical estimates of slope on both log and linear scale is displayed. Linearisation of curves about solutions also shown.


qfa documentation built on Feb. 22, 2020, 3:01 a.m.

Related to numerical_r in qfa...