stephenslab / susieR

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

Record number of iterations as a debug message #17

Closed gaow closed 6 years ago

gaow commented 6 years ago

It is most straightforward to add under this line the following:

s$n_iter = i

so that I can keep the number of iterations for my own reference. I guess this is a style question : may I do that, or should it be in some debug variable?

stephens999 commented 6 years ago

Do that for now. If you want to be safe add a susie_get_niter function too, and use susieR::: to access. Then we can decide on internal storage issues and whether to export etc later.