![license](https://camo.githubusercontent.com/e4588d94291883017714fca56d00175ac7dcb2b2f705858a4f187fd45775b04b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d417061636865253230322e302d626c7565)
The explained variance ($R^2$) of each eQTL for gene expression was estimated based on the following formula:
$$ R^2 = \frac{U_1}{\rm{SST}} = \frac{b_{1}^2/c_{11}}{\rm{SST}} $$
where $U_1$ represents the partial sum of regression squares for the specific eQTL, $b_1$ is the partial regression coefficient indicating the estimated marker effect size, $c_{11}$ corresponds to the relevant element in the inverse matrix of the coefficient matrix within the normal equation group, and $\rm{SST}$ denotes the total sum of squares, reflecting the sum of squared differences between the actual gene expression level and its mean.
Please don't hesitate to leave a message at github Issues
if you encounter any bugs or issues. We will try our best to deal with all issues as soon as possible. In addition, if any suggestions are available, feel free to contact: Bin Chen [email protected].