junyangq / snpnet

snpnet: Fast and scalable lasso/elastic-net solver for large SNP data
32 stars 15 forks source link

Accelerate computeStats with plink2 --geno-counts #29

Closed yk-tanigawa closed 4 years ago

yk-tanigawa commented 4 years ago

PLINK2's --geno-counts can provide the number of individuals with

This computation is very fast.

I drafted a function compute_stats_from_gcount() to use the output from PLINK2 --geno-counts to speed up this genotype data pre-processing.

I am wondering if you could consider incorporating this function.

Thanks!