Adding new covariates in GWAS using REGENIE and SAIGE
An example of how to make covariate + phenotype file in R for GWAS run using REGENIE and SAIGE
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
Pipelines read files in the "red" bucket. In order to make cov-pheno file available for a REGENIE or SAIGE pipeline copy the covariate + phenotype file to /finngen/red/ following instructions in Sharing with your organization.
See an example script available in the green library. Path to example file in the Sandbox:
PreviousHow to run GWAS using SAIGENextHow to run GWAS using plink2 (for unrelated individuals only)
Last updated