chr1swallace/coloc

Sample size (N or n) not recognised by coloc.susie

ChrisShore opened this issue · 1 comments

When I run coloc.susie on my data, I get the warning:

"WARNING: Providing the sample size (n), or even a rough estimate of n, is highly recommended. Without n, the implicit assumption is n is large (Inf) and the effect sizes are small (close to zero)."

This is despite my data objects being lists including the sample size under the name 'N' (I have also tried naming the sample size 'n'). I have tried forcing 'N' to be the class integer (it was simply numeric before), but I still get the error.
check_dataset() returns NULL, indicating everything is okay.

I have realised that I simply needed to add n as a separate argument within runsusie.