slope: Function to calculate the amplification efficiency

Description Usage Arguments Value Author(s) See Also Examples

View source: R/slope.R

Description

This function calculates the amplification efficiency from classical qPCR dilution experiment using the Cq values. The Cq values are plotted against the logarithmized concentration (or dilution) values, a linear regression line is fit and the efficiency calculated by E = 10^-1/slope.

Usage

1
slope(data, q, r, na.rm = FALSE)

Arguments

data

data.frame containing row datas (genes in columns, samples in rows, Cq values).

q

numeric, cDNA dilution values.

r

numeric, number of qPCR replicates.

na.rm

logical, indicating whether NA values should be stripped before the computation proceeds.

Value

Efficiency

Primer amplification efficiency.

Slope

Slope of the dilution curve.

Intercept

Intercept of the dilution curve

Author(s)

Sylvain Le pape <sylvain.le.pape@univ-poitiers.fr>

See Also

You can also see the qpcR package with the calib and calib2 functions.

Examples

1
2
3
data(Efficiency_calculation)

slope(data = Efficiency_calculation, q=c(1000, 100 ,10, 1, 0.1), r=3, na.rm=TRUE)

EasyqpcR documentation built on Nov. 8, 2020, 5:36 p.m.