LOItest_logreg.Rd
LOItest_logreg
performs logistic regression on the degree of heterozygosity in cases compared to control samples.
This tests whether there is a significant difference (p-value) between the fraction of heterozygous samples in
cases versus controls, which (in the case of a higher fraction in cases) can indicate loss of imprinting.
LOItest_logreg(
ref_counts_ctrl,
var_counts_ctrl,
ref_counts_case,
var_counts_case
)
Numeric vectors. Reference and variant counts of control samples.
Numeric vectors. Reference and variant counts of case samples.
Beta-value (beta) and p-value (p.value) of the generalised linear model comparing the fraction of heterozygous samples in cases versus controls.