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

How to include known covariates? #7

Open
xiangzhu opened this issue Nov 21, 2017 · 1 comment
Open

How to include known covariates? #7

xiangzhu opened this issue Nov 21, 2017 · 1 comment

Comments

@xiangzhu
Copy link

Many thanks for developing the interesting TreeWAS method and putting together this wonderful set of scripts!

I wonder if I could easily add a few known covariates (e.g. sex, age, genotype-based PCs) in the model given the current implementation. I couldn't find a corresponding file to input the covariate information.

If not, what are the recommended ways of dealing with these covariates when performing TreeWAS analysis?

Thanks in advance for your time and help on this issue!

@ac257
Copy link
Collaborator

ac257 commented Dec 4, 2017

Hello, Thanks for your interest. We are currently improving the method and implementation on this regard. The way we have performed conditional analysis is described in the supplementary material and this is the approach we followed for the HLA analysis. We found that this worked well for a few covariates but not ideal for fitting many covariates at a time as you request - this is currently not implemented. I will update you as soon as we add this functionality to the public repository.

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

2 participants