calculate_TtT {quicR}R Documentation

Calculate Time to Threshold

Description

Calculates the time required to reach a defined threshold.

Usage

calculate_TtT(data, threshold, start_col = 3, run_time = 48)

Arguments

data

A dataframe containing real-time RT-QuIC data.

threshold

A numeric value defining the threshold.

start_col

The column containing the starting position of the real-time data.

run_time

The time in hours that the assay ran.

Value

A vector containing the times to threshold

Examples

# This test takes >5 sec

file <- system.file(
"extdata/input_files",
file = "test.xlsx",
package = "quicR"
)
df_ <- get_real(file)[[1]] |>
  normalize_RFU()
calculate_TtT(df_, threshold = 2)




[Package quicR version 1.0.2 Index]