Adding new covariates in GWAS using REGENIE and SAIGE
PreviousHow to run GWAS using SAIGENextHow to run GWAS using plink2 (for unrelated individuals only)
Last updated
Was this helpful?
Last updated
Was this helpful?
An example of how to make covariate + phenotype file in R for GWAS run using and
If you are using all samples in the covariate file, then this is enough and your cov_pheno file is ready.
If you are not using all samples in the covariate file you can use the following code to include controls and NA
values.
Once your file is ready, save your covariate + phenotype file to your folder in home/ivm
See an example script available in the green library. Path to example file in the Sandbox:
Pipelines read files in the "red" bucket. In order to make cov-pheno file available for a or pipeline copy the covariate + phenotype file to /finngen/red/ following instructions in .