Test to evaluate deviation from the expected level of allelic variation for genes with similar expression. Performs a permutation test between H_0: gene's dispersion is the same as the common (expected) dispersion. H_1: The stabilized (shrunk) dispersion is not the same as the common dispersion.
Fits a local regression model with dispersion as a function of total gene counts. Predicted values are the expected dispersion for genes with similar expression levels The initial dispersion estimates are shrunk towards the trend
Estimate beta-binomial distribution parameters per gene. The users can remove low abundant or low expressed genes through quality control parameters min_counts and min_cells.
Estimating appropriate tuning paramaters delta and the number of degrees of freedom, N. We assume that dispersion follows Gamma distribution. Appropriate shrinkage is selected based on the MLE of the the difference between fitted dispersion and shrunk dispersion
Estimates global beta-binomial distribution parameters on all genes together to evaluate the degree of skewness towards the reference allele. For the estimation, genes located on the sex chromosomes and imprinted genes are excluded