| efficiency | R Documentation |
The efficiency function calculates amplification efficiency (E)
and related statistics, including slope and coefficient of determination
(R^2), and generates standard curves for qPCR assays.
efficiency(df, base_size = 12, legend_position = c(0.2, 0.2), ...)
df |
A data frame containing dilution series and corresponding Ct values. The first column should represent dilution levels, and the remaining columns should contain Ct values for different genes. |
base_size |
font size |
legend_position |
legend position |
... |
Additional ggplot2 layer arguments |
Amplification efficiency is estimated from standard curves generated by
regressing Ct values against the logarithm of template dilution.
For each gene, the function reports the slope of the standard curve,
amplification efficiency (E), and R^2 as a measure of goodness of fit.
The function also provides graphical visualization of the standard curves.
A list with the following components:
A data frame containing slope, amplification efficiency (E),
and R^2 statistics for each gene.
A table comparing slopes between genes.
A ggplot2 object showing standard curves for all genes.
Ghader Mirzaghaderi
# Load example efficiency data
data <- read.csv(system.file("extdata", "data_efficiency1.csv", package = "rtpcr"))
# Calculate amplification efficiency and generate standard curves
efficiency(data)
ef <- read.csv(system.file("extdata", "data_efficiency_Yuan2006PMCBioinf.csv", package = "rtpcr"))
efficiency(ef)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.