Description Usage Arguments Value See Also
Function for finding linear MRD range
1 2 3 | find_linearity(MRD, input_cancer_cells, max_deviation_threshold = 0.05,
log = TRUE, log_offset = 1e-06, linearity.plot = TRUE,
log_deviation = T)
|
MRD |
The measured MRD values |
input_cancer_cells |
The pre-specified input. Note: can be frequency or any other input value |
log |
Boolean for log10-transforming input_cancer_cells, default TRUE |
log_offset |
log offset for transformation to avoid log(0), default 1e-6 |
linearity.plot |
If TRUE, returns a ggplot of the Total Error fit |
log_deviation |
If TRUE and if log==T, calculate deviation in log space. Otherwise, convert deviance to linear space. |
max_deviance_threshold |
Maximum deviation threshold from linearity |
Returns a list containing linear_range_min, linear_range_max and deviation within the linear range. If linearity.plot == TRUE, also contains a ggplot of the linear range.
PRO-00091
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.