biona001 / GhostKnockoffGWAS

Knockoff-based analysis of GWAS summary statistics data
MIT License
7 stars 1 forks source link

`solveblock`: matrix contains Infs or NaNs #20

Closed biona001 closed 4 months ago

biona001 commented 4 months ago

When there are only 1 SNP in the user specified region, cor(X) is NaN. Must throw error here. Along the same lines, probably we should add a check regarding minimum sample size.