stephenslab / susieR

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

Implement `summary` function #52

Closed gaow closed 3 years ago

gaow commented 5 years ago

As mentioned in passing in #36, function summary can now be applied to a susieR fit to get more concise / polished output. The idea is that by default users should only need to run susie() then use coef, predict and summary to access all information they need. Plus perhaps additionally susie_plot(). In other words we might want to mimic how lm behaves.

I have already implemented a version of summary, to be demonstrated in upcoming vignettes. We can add more to it as we see fit.

pcarbo commented 5 years ago

@gaow Your summary function is a good start. A couple suggestions:

gaow commented 5 years ago

@pcarbo good suggestions particularly on the print pointer. I'll keep this ticket open to revisit.