Learn R Programming

quicR (version 2.1.0)

calculate_MPR: Calculate the Maxpoint Ratio

Description

Maxpoint ratio is defined as the maximum relative fluorescence divided by the background fluorescence.

Usage

calculate_MPR(data, start_col = 3, data_is_norm = TRUE)

Value

A vector containing MPR values.

Arguments

data

A dataframe containing the real-time fluorescence data.

start_col

Integer, the column at which the background fluorescence should be read.

data_is_norm

Logical, if the data has not been normalized, will make a call to normalize_RFU.

Examples

Run this code
# This test takes >5 sec
# \donttest{
file <- system.file(
  "extdata/input_files",
  file = "test.xlsx",
  package = "quicR"
)
df_ <- quicR::get_real(file)[[1]]
print(calculate_MPR(df_))
# }

Run the code above in your browser using DataLab