calculateDropout
calculate drop-out events (allele
and locus) and records the surviving peak height.calculateDropout(data, ref, threshold = NULL, method = c("1", "2", "X",
"L"), ignoreCase = TRUE, debug = FALSE)
modelDropout
:
'MethodX', 'Method1', 'Method2', 'MethodL' and
'MethodL.Ph'.checkSubset
to
make sure subsetting works as intended.
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.data(set4)
data(ref4)
drop <- calculateDropout(data=set4, ref=ref4, ignoreCase=TRUE)
Run the code above in your browser using DataLab