The effect column was determined NOT to be coded as an odds ratio (OR) for the asb_noZ_wSE_orderedSNP_no0.txt summary statistics file based on the median of the effect column being close to 0."
Error in `$<-.data.frame`(`*tmp*`, "effect", value = numeric(0)) :
replacement has 0 rows, data has 6362270
Calls: sumstats -> $<- -> $<-.data.frame
Execution halted
I don't know what to change, since it ran with the test set of 100. I tried subsetting my ASB2 GWAS by only those Beta values that didn't equal 0 and munged on that set, but I get the same error. Then I thought maybe it has something to do with my Beta appear to be an OR. Should I be specifying my sumstats argument differently to account for that? (Maybe it just wasn't an issue for the first 100 SNPs but is for the full set?)
Here is my sumstats code:
p_sumstats<-sumstats(files=files, ref=ref,
trait.names=trait.names,
se.logit=se.logit,
info.filter=info.filter,
maf.filter=maf.filter,
OLS=c(T,T), linprob=NULL, N=c(257828,766345))