stephenslab / susieR

R package for "sum of single effects" regression.
https://stephenslab.github.io/susieR
Other
174 stars 44 forks source link

Remove intercept in plot of coefficients in MWE vignette #118

Closed jdblischak closed 3 years ago

jdblischak commented 3 years ago

When I was going through the MWE vignette, I was initially confused why the coefficients were off by 1. I realized when I was reading the example in ?susie that the first coefficient is the intercept.

https://github.com/stephenslab/susieR/blob/0e48c3c9492b47aa000cbcd450be65c9ca9f9922/R/susie.R#L244

This PR similarly removes the intercept term from the coefficients plot.