View source: R/calculate_TtT.R
calculate_TtT | R Documentation |
Calculates the time required to reach a defined threshold.
calculate_TtT(data, threshold, start_col = 3)
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. |
A vector containing the times to threshold
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.