timflutre / eqtlbma

Package to detect eQTLs jointly in multiple subgroups (e.g. tissues) via Bayesian Model Averaging.
http://www.plosgenetics.org/article/info%3Adoi%2F10.1371%2Fjournal.pgen.1003486
GNU General Public License v3.0
22 stars 12 forks source link

Gsl crash handler #18

Closed gaow closed 9 years ago

gaow commented 9 years ago

When there are less samples than (features + 2) in data, the multiple regression will crash. This patch checks this case, setting all statistics to NaN and deals with these NaN statistics in permutation testing.