-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
interface with mashr #22
Comments
Yes, that's a good idea, but perhaps it makes sense to tackle Issue #21 first, and then illustrate the (more user-friendly) interface in the vignette. |
related to stephenslab/mashr#132
|
@stephens999 udr handles missing data using mashr function. The input to ud_init() can be a mashr object, and handling missingness part is using mashr. We can fit both EE and EZ model with udr. |
In mashr, V is the correlation matrix, so the covariance is SVS.
Is it the same in udr software?
(I'm asking because in the udr paper we use V for the covariance)
.
…On Tue, Nov 5, 2024, 13:41 yunqiyang0215 ***@***.***> wrote:
@stephens999 <https://github.com/stephens999> udr handles missing data
using mashr function. The input to ud_init()
<https://github.com/stephenslab/udr/blob/master/R/ud_init.R> can be a
mashr object, and handling missingness part is using mashr.
We can fit both EE and EZ model with udr.
—
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANXRRLLM7L7LQEGJRB77P3Z7EGO3AVCNFSM6AAAAABRA6VHGWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJXHEYDSMBVGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I think V is for covariance for udr. |
i think we should think a bit about this. For example, currently we allow both a mash_data object and V to be provided to udr_init, but Or maybe it would be better to be consistent about the use of V in the two packages? |
Agree... Would be better to be consistent about the notation V. The only concern is if we change udr software, the notation will be different from what we wrote in paper. |
it turns out the same is true for mashr: we use V for variance in the paper, but for correlation in the software |
@pcarbo do you have thoughts on how to proceed? |
We should do our best to make sure the |
the mashr interface is built around the notion of a "data" object, which contains Bhat, Shat (optional; default is 1) and a correlation matrix (or list of correlation matrices) V. |
Definitely! |
we should document how to use this with mashr, probably in the mashr vignette?
It may require writing a function or functions to produce mashr objects (priors?) in the udr package?
The text was updated successfully, but these errors were encountered: