estimate_crit_time: Estimate critical times

Description Usage Arguments Value See Also Examples

View source: R/estimate_crit_time.R

Description

estimate_crit_time returns the conjugation rates and critical times corresponding to a conjugation experiment. For the ASM to return a proper conjugation estimate the time point of measurement must be smaller than min(tcrit1, tcrit2, tcrit3).

Usage

1
2
3
4
5
6
7
estimate_crit_time(
  DRT,
  TRT = NULL,
  tol_factor = 10,
  id_cols = c("ID"),
  verbose = T
)

Arguments

DRT

Dataframe. Data corresponding to the first conjugation experiment. Necessary columns: D.0, R.0 are initial pop sizes; psi.D, psi.R, psi.T are growth rates. If gamma.D is not among the columns, the function will attempt to estimate gamma.D from the data given. This requires D.t, R.t, T.t (final population sizes) and t (the time of measurement). If gamma.T is among the columns, the input under TRT will be ignored.

TRT

Dataframe. Data corresponding to the second conjugation experiment. Same columns needed as for DRT.

tol_factor

Double. The imprecision factor: this factor indicates how close the system is allowed to approach a state where it violates the ASM assumptions (smaller values allow greater violation).

id_cols

List of strings. Specifies the column names that should be treated as identifiers (will be returned in output).

verbose

Boolean. Should warnings be returned?

Value

Dataframe of critical time estimates.

See Also

Other critical time functions: scan_crit_time()

Examples

1
2

JSHuisman/conjugator documentation built on Dec. 18, 2021, 12:27 a.m.