calculateDegradation: Calculate Degradation Parameter

Description Usage Arguments Details Value Examples

Description

Calculate the degradation parameter (probability of degradation per base pair).

Usage

1

Arguments

conc

numeric vector with measured concentrations.

size

numeric vector with number of base pairs for the targets.

debug

logical to print debug information.

Details

Calculates the degradation parameter given the concentrations measured with two targets of different size. NB! The concentration from the shorter fragment must be given first with the corresponding target size first in the size vector.

Value

numeric calculated degradation parameter.

Examples

1
2
3
4
# The DNA concentration for a degraded sample measured with probe sizes 70 and 220 bp
# was 85 and 0.5 ng/ul respectively.
# Calulate the degradation parameter:
calculateDegradation(conc=c(85,0.5), size=c(70,220))

pcrsim documentation built on May 2, 2019, 2:40 a.m.