calculateDropout(data, ref, threshold = NULL, method = c("1", "2", "X", "L"), ignore.case = TRUE, sex.rm = FALSE, qs.rm = TRUE, kit = NULL, debug = FALSE)
modelDropout
:
'MethodX', 'Method1', 'Method2', 'MethodL' and 'MethodL.Ph'.
checkSubset
to make sure subsetting works as intended.
There are options to remove sex markers and quality sensors from analysis.NB! There are several methods of scoring drop-out events for regression. Currently the 'MethodX', 'Method1', and 'Method2' are endorsed by the DNA commission (see Appendix B in ref 1). However, an alternative method is to consider the whole locus and score drop-out if any allele is missing.
Explanation of the methods: Dropout - all alleles are scored according to LDT. This is pure observations and is not used for modelling. MethodX - a random reference allele is selected and drop-out is scored in relation to the the partner allele. Method1 - the low molecular weight allele is selected and drop-out is scored in relation to the partner allele. Method2 - the high molecular weight allele is selected and drop-out is scored in relation to the partner allele. MethodL - drop-out is scored per locus i.e. drop-out if any allele has dropped out.
Method X/1/2 records the peak height of the partner allele to be used as the explanatory variable in the logistic regression. The locus method L also do this when there has been a drop-out, if not the the mean peak height for the locus is used. Peak heights for the locus method are stored in a separate column.
Peter Gill, Roberto Puch-Solis, James Curran, The low-template-DNA (stochastic) threshold-Its determination relative to risk analysis for national DNA databases, Forensic Science International: Genetics, Volume 3, Issue 2, March 2009, Pages 104-111, ISSN 1872-4973, 10.1016/j.fsigen.2008.11.009. http://www.sciencedirect.com/science/article/pii/S1872497308001798
data(set4)
data(ref4)
drop <- calculateDropout(data=set4, ref=ref4, ignore.case=TRUE)
Run the code above in your browser using DataLab