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

Implement weights for LMM in scan1blup #52

Open
kbroman opened this issue May 4, 2018 · 1 comment
Open

Implement weights for LMM in scan1blup #52

kbroman opened this issue May 4, 2018 · 1 comment

Comments

@kbroman
Copy link
Member

kbroman commented May 4, 2018

Implement the use of weights in scan1() and related functions (scan1coef(), fit1(), scan1blup(), scan1perm(), scan1snps()). This is for the case of RIL (such as the BXDs) where we're analyzing strain means with differing numbers of individuals per line.

The variance part of the model will be v[ h^2 K + (1-h^2) D] where D is a diagonal matrix with the reciprocal of the weights, 1/w, along the diagonal.

@kbroman
Copy link
Member Author

kbroman commented May 21, 2018

I have the basics of this working in scan1() in the weighted_lmm branch. Need to add some tests (verified with the regress package).

Also need to implement the weights argument for LMM in

  • fit1()
  • scan1coef()
  • scan1snps()
  • scan1blup()
  • scan1perm()

@kbroman kbroman changed the title Implement weights for LMM in scan1 etc Implement weights for LMM in scan1blup Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant