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)
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. |
Value
A vector containing the times to threshold
Examples
# This test takes >5 sec
file <- system.file(
"extdata/input_files",
file = "test2.xlsx",
package = "quicR"
)
df_ <- get_real(file)[[1]] |>
quicR::transpose_real() |>
quicR::normalize_RFU(transposed = TRUE)
calculate_TtT(df_, threshold = 2)
[Package quicR version 2.1.0 Index]