Dear all,
I am trying to prepare the summary statistics for GWAS. I have two continous outcomes.
Following the instructions, I tried to run this command: files=c("SBP_renamed.txt.gz","DBP_renamed.txt.gz")
ref="reference.1000G.maf.0.005.txt.gz"
trait.names=c("SBP","DBP")
se.logit=c(F,F)
info.filter=.6
maf.filter=0.01
BP_sumstats <-sumstats(files=files,ref=ref,trait.names=trait.names,
se.logit=se.logit,
OLS=TRUE,
linprob=FALSE,
N=NA,
info.filter=info.filter,
maf.filter=maf.filter,
keep.indel=FALSE,
parallel=TRUE,cores=NULL)
However, it did not run.
Thus, I ran the command below changing the OLS, and N. and it worked. Could you please confirm if the specification below is correct? I am unsure about the OLS, N, and linprob arguments.
BP_sumstats <-sumstats(files=files,ref=ref,trait.names=trait.names,
se.logit=se.logit,
OLS=NULL,
linprob=FALSE,
N=NULL,
info.filter=info.filter,
maf.filter=maf.filter,
keep.indel=FALSE,
parallel=TRUE,cores=NULL)
Thank you in advance
Anna