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

NA values in phenotype/.fam file #9

Open
mbytc1 opened this issue Aug 17, 2021 · 2 comments
Open

NA values in phenotype/.fam file #9

mbytc1 opened this issue Aug 17, 2021 · 2 comments

Comments

@mbytc1
Copy link

mbytc1 commented Aug 17, 2021

If possible, please could you provide a fix so that is is possible to provide NA values for participants/samples across the phenotype file (e.g. if have removed due to being relatedness or population stratification)? (NB i have made sure that they are consistent participants between phenotype and bfiles). Currently, if I try to run it with NA values for any participant, the output all looks correct aside from the univariate sumstats output, where no BETA and SE values are provided. I know that I could instead run an extra stage before MOStest of making new bfiles using plink with limiting to those participants with no NA values, but if possible, it would be great and much simpler if there is a fix within MOSTest to allow it. Thank you

@zqsha
Copy link

zqsha commented Nov 12, 2021

Yes, completely agree. I met the same issue. Hopefully, the developers can fix this issue. Or already updated?

@denvdm
Copy link
Contributor

denvdm commented Aug 8, 2022

Hi, sorry for late reply. While this generated an (unnecessary) error with the earliest versions of MOSTest, it should run smoothly now, if you set missing values to 'NaN'.

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

3 participants