View source: R/aiding_functions.R
Calculate q1 quality score. q1 is a measure of the fit of selfit. It is based on Pvalue and the fraction of valid F1 scores. If either is below their threshold the q1 value is 0. Also, if bestParentfit is different from bestfit this indicates a segregation distortion.
1 2 | calc_q1(Pvalue, fracInvalid, bestfit, bestParentfit, Pvalue_threshold,
fracInvalid_threshold)
|
Pvalue |
P-value of bestParentfit segtype |
fracInvalid |
Fraction invalid scores of bestParentfit segtype |
bestfit |
segtype of best fit of population |
bestParentfit |
segtype of best fit of parents |
Pvalue_threshold |
Threshold P-value of bestParentfit segtype |
fracInvalid_threshold |
a maximum threshold for the fracInvalid of the bestParentfit segtype (with a larger fraction of invalid dosages in the F1 the q1 quality parameter will be set to 0) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.