Question: Missing data in covariate file in PLINK
gravatar for landscape95
5 months ago by
landscape95160 wrote:

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 • 407 views
ADD COMMENTlink modified 5 months ago by karl.stamm3.5k • written 5 months ago by landscape95160
gravatar for karl.stamm
5 months ago by
United States
karl.stamm3.5k wrote:

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

ADD COMMENTlink written 5 months ago by karl.stamm3.5k

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 REPLYlink modified 5 months ago • written 5 months ago by landscape95160

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 REPLYlink written 5 months ago by karl.stamm3.5k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 858 users visited in the last hour