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

Imputation changes missing phenotypes to controls #30

Open
rkwalters opened this issue Feb 23, 2016 · 1 comment
Open

Imputation changes missing phenotypes to controls #30

rkwalters opened this issue Feb 23, 2016 · 1 comment

Comments

@rkwalters
Copy link
Contributor

In haps2dos4 lines 237-248, the fam file is processed to force all phenotypes to 1 or 2. The reason for this is unclear, but regardless this altered phenotype is propagated through the remainder of imputation.

As a result any individuals with non-case/control phenotypes, importantly including missing phenotypes of 0/-9, are recoded to cases. Unless an alternative phenotype is specified, this changed phenotype will also be used for GWAS.

@stephanripke
Copy link
Contributor

thanks for this catch.
first the individuals are recoded as controls (as you say in the header but not in the text).
still this needs to be fixed. there was a reason for that back then, I think plink did not carry individuals with missing phenotype in the next dosage file. this might have been fixed meanwhile.
I will fix it but it needs some testing. meanwhile you can use an alternate phenofile in postimp analysis.
best,
s.

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