calculate_threshold: Calculate a Threshold for Rate Determination

View source: R/calculate_threshold.R

calculate_thresholdR Documentation

Calculate a Threshold for Rate Determination

Description

Calculates a threshold for determining time-to-threshold and rate of amyloid formation.

Usage

calculate_threshold(
  data,
  background_cycle = 2,
  method = list("stdev", "none"),
  multiplier = 1
)

Arguments

data

A dataframe output from get_real.

background_cycle

Integer; the cycle used for background fluorescence.

method

Method for determining threshold; default is "stdev".

multiplier

For some methods, will add a multiplier for more conservative thresholds.

Value

A float value.

Examples

file <- system.file(
  "extdata/input_files",
  file = "test2.xlsx",
  package = "quicR"
)
threshold <- get_real(file)[[1]] |>
  calculate_threshold(multiplier = 10)


quicR documentation built on April 3, 2025, 11:20 p.m.