stephenslab / mashr

An R package for multivariate adaptive shrinkage.
https://stephenslab.github.io/mashr
Other
88 stars 19 forks source link

Prune data corresponding to small posterior weights #14

Closed gaow closed 7 years ago

gaow commented 7 years ago

An obvious optimization for posterior calculation is that after we obtain posterior_weights we prune the P list removing trivial weights and their corresponding data, before moving on to next steps of computation. It could save us a lot potentially.

pcarbo commented 7 years ago

@gaow I agree.