powered by
Uses a sliding window to calculate the slope of real-time reads.
calculate_MS(data, window = 3, data_is_norm = TRUE)
A dataframe containing the real-time slope values as change in RFU/sec.
A dataframe containing real-time reads. It is recommended to use a dataframe made from normalize_RFU.
Integer designating how wide you want the sliding window to be for calculating the moving average slope.
Logical; if FALSE, will make a call to normalize_RFU.
# This test takes >5 sec # \donttest{ file <- system.file( "extdata/input_files", file = "rt_data.csv", package = "quicR" ) df_ <- read.csv(file, check.names = FALSE) calculate_MS(df_) # }
Run the code above in your browser using DataLab