normalize_RFU {quicR} | R Documentation |
Normalize Fluorescence
Description
Normalizes the real-time RT-QuIC data against the background fluorescence of a defined cycle. All cycles are divided by the fluorescent value of the defined cycle.
Usage
normalize_RFU(df, bg_cycle = 4)
Arguments
df |
A dataframe made from get_real. |
bg_cycle |
The cycle used for background fluorescence |
Value
A dataframe containing real-time normalized fluorescence values.
Examples
# This test takes >5 sec
file <- system.file(
"extdata/input_files",
file = "test.xlsx",
package = "quicR"
)
df_ <- get_real(file)[[1]]
# Export the tables in the first sheet of the file.
dic <- quicR::organize_tables(file)
# Apply the column names.
colnames(df_) <- cbind("Time", convert_tables(dic)$`Sample IDs` |> t())
# Normalize the raw data against the background reading.
normalize_RFU(df_)
[Package quicR version 1.0.2 Index]