stephenslab / ebnm

R package to fit Empirical Bayes Normal Means model.
https://stephenslab.github.io/ebnm/
12 stars 9 forks source link

Add data to return object #67

Closed willwerscheid closed 2 years ago

willwerscheid commented 2 years ago

Add x and s to the result (useful for plotting, for example). Put it in a single data frame with the posterior summaries. This will mean renaming the object, which will break flashier. We should update flashier to work with both versions.

willwerscheid commented 2 years ago

Or maybe easier to keep "posterior" as is and put "data" in a separate data frame.

stephens999 commented 2 years ago

i like this last better