QuantGen / BEDMatrix

A matrix-like wrapper around PLINK .bed files
Other
18 stars 2 forks source link

Speed up determination of number of lines #12

Closed agrueneberg closed 8 years ago

agrueneberg commented 8 years ago

I've got some C++ code for that somewhere.

agrueneberg commented 8 years ago

Actually the rownames are determined from the .fam file, so reading the entire file is reasonable.

agrueneberg commented 8 years ago

Fixed in e682f426aa2182474389de586004550d85cd144b. If n or p are not given, FAM or BIM files are not parsed. That should speed things up.