Entering edit mode
10.1 years ago
tracylee7001
▴
20
Hello all,
I'm using PLINK2 to do association study in a case-control trait. I have 4 covariates.
Here is my command:
plink2 \
--vcf hdplus.new1.filter.chr1.vcf.gz \
--const-fid 0 \
--no-parents \
--no-sex \
--allow-no-sex \
-pheno pheno.file \
--all-pheno \
--covar covar.cov \
--logistic \
--out hdplus.chr1.filter.cov
PLINK2 ran smoothly without any error message, but it gave me NA results for all TEST (ADD+TEST for all 4 covariates).
199 variants loaded from .bim file.
9105 people (0 males, 0 females, 9105 ambiguous) loaded from .fam.
Ambiguous sex IDs written to hdplus.chr1.filter.cov.nosex .
9105 phenotype values present after --pheno.
Using 1 thread (no multithreaded calculations invoked).
--covar: 1 out of 4 covariates loaded.
Before main variant filters, 9105 founders and 0 nonfounders present.
Calculating allele frequencies... done.
199 variants and 9105 people pass filters and QC.
Among remaining phenotypes, 1802 are cases and 7303 are controls.
9105 phenotype values present after --pheno.
johnes has 1802 cases and 7303 controls.
Writing logistic model association results to
hdplus.chr1.filter.cov.johnes.assoc.logistic ... done.
If I removed the command line --covar covar.cov
, it gave me results for ADD TEST. Does anybody know how to fix this?
Thank you!
Hi,
Can you send me a small test dataset I can use to reproduce this issue?
Phenotype file:
covar file:
VCF file:
Command:
If remove
--covar test.cov --covar-name yob
, it could give association result for one SNP.Thank you!
In this test dataset, the problem is caused by multicollinearity: Pheno and yob are perfectly negatively correlated. It's necessary to not include yob as a covariate in this situation.