combine_PRS(
pheno_file = "~/path/phenotype.txt",
covariate_file = "~/path/covariate.txt",
score_files_list = c("~/path/score_file1.sscore"),
trait_specific_score_file = "~/path/cad_list.txt",
pheno_name = "GDM",
isbinary = TRUE,
out = "GDM_combined_PRS",
liabilityR2 = TRUE,
IID_pheno = "IID",
covar_list = c("parity", "bmi", "PC1", "PC2", "PC3", "PC4"),
cat_covar_list = c("parity"),
ncores = 4,
is_extract_adjSNPeff = FALSE
)
I am using scores that I previously created using plink2.
scorefile.txt is formatted as
I am getting the following error:
I am using the following script:
I am using scores that I previously created using plink2.
scorefile.txt is formatted as
Many thanks