calc_precision: Function for calculating MRD precision

Description Usage Arguments Value

Description

Function for calculating MRD precision

Usage

1
2
3
calc_precision(MRD, input_cancer_cells, precision.plot = TRUE, log = TRUE,
  log_offset = 1e-06, precision_type = "CV", sadler_params = list(b1 = 2,
  b2 = 0.1, b3 = -1.8))

Arguments

MRD

The measured MRD values

input_cancer_cells

The pre-specified input. Note: can be frequency or any other input value

precision.plot

If TRUE, returns a ggplot of the Precision and Sadler's fit

log

Boolean for log10-transforming input_cancer_cells, default TRUE

log_offset

log offset for transformation to avoid log(0), default 1e-6

precision_type

The type of precision. Either percent CV ("CV") or relative S.D. ("rel_SD") , default "CV"

sadler_params

A list of initial values for sadler's fit

Value

Returns a list containing LOQ, LCL.LOQ and UCL.LOQ. Note that LCL.LOQ will almost always be NA; use LOD as the lower limit. If TE.plot == TRUE, also contains TE_fit, fitted_data and TE_plot.


AdaptiveCompBio/EOS documentation built on May 26, 2019, 6:37 a.m.