Skip to content
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

Estimating effects using flashr (a bit like mashr) #17

Open
stephens999 opened this issue Oct 17, 2017 · 0 comments
Open

Estimating effects using flashr (a bit like mashr) #17

stephens999 opened this issue Oct 17, 2017 · 0 comments

Comments

@stephens999
Copy link
Contributor

I would like to be able to fit models of the form
Bhat = N(B,SVS)
where B = LF is unknown, Bhat is observed, and S and V are considered known.

Here Bhat is p by R where maybe p is big (hundreds of thousands) and R is moderate (dozens? hundreds?) as the GTEx eQTL mapping problem.

The goal is to get (approximate) posterior distributions on elements of B (eg local false sign rates).

For simplicity let's start with V=S=I (so the Bhat are Z scores).

i) apply flash to Bhat (or S^{-1}Bhat) to get an initial L and F.
Note: Here we might want to include the R condition-specific factors to explicitly allow
condition-specific effects.

ii) use sampling (particularly of L given F?) to get approximate posterior samples from B.
See issue #16

To allow for non-diagonal V we might do an eigen-decomposition V=\sum_k lambda_k v_k v_k',
and add some fixed factors with the v_k as factors, and with loadings set to have prior g^l_k = N(0,lambda_k^2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant