Description Usage Arguments Details Value Examples
View source: R/calculateDegradation.R
Calculate the degradation parameter (probability of degradation per base pair).
1 | calculateDegradation(conc, size, debug = FALSE)
|
conc |
numeric vector with measured concentrations. |
size |
numeric vector with number of base pairs for the targets. |
debug |
logical to print debug information. |
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.
numeric calculated degradation parameter.
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))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.