choishingwan / PRSice

A software package for calculating, applying, evaluating and plotting the results of polygenic risk scores
http://prsice.info
GNU General Public License v3.0
185 stars 86 forks source link

[BUG]no error but .best and .summary file come out to be NULL data.frame #334

Closed yc-long closed 1 year ago

yc-long commented 1 year ago
prsice

Describe the bug log file show no error, and prsice file looks normal, Besides, there is only one headline in the all_score file with no content.

Error Log when plotting, it showed that:

Begin plotting Current Rscript version = 2.3.3 Warning messages: 1: In fread(paste0(argv$out, ".summary"), data.table = F) : File 'xxxx.summary' has size 0. Returning a NULL data.frame. 2: In fread(paste0(argv$out, ".prsice"), data.table = F) : Discarded single-line footer: <<- Base 0.03309 3.9252e-05 >> Error in [.data.frame(best, , c(1, 2, 4)) : undefined columns selected Calls: process_plot -> [ -> [.data.frame In addition: Warning message: In fread(paste0(prefix, ".best"), data.table = F, colClasses = c(FID = "character", : File xxxx.best' has size 0. Returning a NULL data.frame. Execution halted