Learn R Programming

qpcR (version 1.2-2)

eff: The amplification efficiency curve of a fitted object

Description

Calculates the efficiency curve from the fitted object by $E = \frac{F(n)}{F(n-1)}$, with E = efficiency, F = raw fluorescence, n = Cycle number.

Usage

eff(object, sequence = NULL, plot = FALSE)

Arguments

object
an object of class 'pcrfit'.
sequence
a 3-element vector (from; to; by) defining the sequence for the efficiency curve, defaults to [min(Cycles), max(Cycles)] with 100 points per cycle.
plot
should the efficiency be plotted?

Value

  • A list with the following components:
  • eff.xthe cycle points.
  • eff.ythe efficiency values at eff.x.
  • effmax.xthe cycle number with the highest efficiency.
  • effmax.ythe maximum efficiency.

Examples

Run this code
m <- pcrfit(reps, 1, 2, l5)

## with default 100 points per cycle
eff(m, plot = TRUE) 

## not all data and only 10 points per cycle
eff(m, sequence = c(5, 35, 0.1), plot = TRUE)

Run the code above in your browser using DataLab