wenbostar / PGA

PGA: a tool for ProteoGenomics Analysis
http://wenbostar.github.io/PGA/
7 stars 10 forks source link

Accomodate small change in data.table v1.11.0 #2

Closed mattdowle closed 6 years ago

mattdowle commented 6 years ago

Hi Bo, fread in data.table v1.110 (soon to be on CRAN) now recognizes "true" and "false" (all lower case) as a logical column automatically. So these two lines were resulting in empty results in dt_var, eventually ending up with this error :

Stage 4. HTML-based report generation.
None of SNV were identified!
Error in 1:dim(data)[1] : argument of length 0
Calls: easyRun -> reportGear -> .spplot
Execution halted

Hope it's ok to fix. Thanks and best, Matt