calibratePCRsim(data, target = NULL, ref = NULL, quant = NULL, ignore.case = TRUE, kit = NULL, db = NULL, fixed.profile = NULL, sim = 1, pcr.cyc, ce.aliq = 1, pcr.aliq = 17.5, pcr.vol = 25, minimize = TRUE, step.size = 0.001, cell.dna = 0.006, dna.amount = 0.5, filter = TRUE, plot.data = TRUE, decimals = 4, debug = FALSE, ext.debug = FALSE)
dna.amount
of DNA.
If NULL it will be estimated from the linear regression at dna.amount
of DNA.data
.
Required columns are 'Sample.Name', 'Marker', and ('Allele'), and (mean) DNA concentration ('Mean').data
.TRUE
to ignore case in sample name matching.db
will be used.TRUE
stops when the squared difference is minimized,
FALSE
continues until the PCR efficiency is 0.target
.TRUE
to retrieve known alleles defined in ref
from data
.target
parameter.
2) Prepare a serial dilution (preferrably from intact cells, or from single
source crime scene samples). It is suitable to go from approximately optimal amount
down to low concentrations with drop-outs or completely blank profiles.
Quantify each dilution as accurately as possible. Amplify using normal
procedure and analyse the PCR product.
Require a dataset with sample names ('Sample.Name'), and (average) concentration or
(average) amount in columns named 'Concentration' and 'Amount' respectively. Also
requires the average peak height ('H').NB! Samples with either zero average peak height or zero number of molecules is removed automatically. In addition, if replicate quants, samples where one replicate was negative can be removed manually.