Missing data in covariate file in PLINK
1
0
Entering edit mode
5.2 years ago
landscape95 ▴ 190

Hi everyone, I am doing the summary statistics for SNP association in Plink. However, the program says I have missing values even though I have checked the phenotype information, it doesn't have -9/0/NA values. When I checked the covariate file, some values had -9/0 values, these values are the true values, they are not annotated as missing, may I ask how can I flag another value for the covariate file only? I don't want it effect my phenotype missing values which can be -9/0/NA in my future work. Your help is really appreciated!

GWAS • 4.2k views
ADD COMMENT
1
Entering edit mode
5.2 years ago

PLINK v1.9 has a parameter --missing-phenotype which lets you assign a number other than -9 as the key for missing value. see their docs for encoding parameters https://www.cog-genomics.org/plink/1.9/input#pheno

ADD COMMENT
0
Entering edit mode

Thank you very much! I have read this document but according to it, the --missing-phenotype will be applied across all phenotype-related data, the .fam file will also be considered the same. I wish that I could assign the missing phenotype differently between the .bim file and the covariate file. Is there any way that I can do it? Thank you!

ADD REPLY
0
Entering edit mode

I don't know what your .bim is, but you should be able to recode any file, or just run the software separately for each condition. I gather PLINK is just running one column of the phenotype file anyway, you'll be doing separate analyses. You're trying to do several analyses right now with incompatible annotation files. Re-generate the BIM to match the phenotypes, or vice versa.

ADD REPLY

Login before adding your answer.

Traffic: 2891 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6