suchestoncampbelllab / gwasurvivr

GWAS Survival Package in R
11 stars 12 forks source link

Error in rowMeans2(genotypes, na.rm = TRUE) : Argument 'dim.' must be an integer vector of length two. #29

Closed shishirdube99 closed 1 year ago

shishirdube99 commented 1 year ago

I am running into this error:

Analyzing part 10811/13838... Error in rowMeans2(genotypes, na.rm = TRUE) : Argument 'dim.' must be an integer vector of length two.

I even modified the pgen file in plink2 using the following command: --hard-call-threshold 0.4 where I have adjusted the parameter from 0.2 to 0.49. Yet I keep running into the same error. Can you please help?

aarizvi commented 1 year ago

Have you tried a larger chunk size?

shishirdube99 commented 1 year ago

Have you tried a larger chunk size?

Thanks - tried that out and it worked!