BIMIB-DISCo / TRONCO

Repository of the TRanslational ONCOlogy library, which includes various algorithms (such as CAPRESE and CAPRI) and the Pipeline for Cancer Inference (PICNIC).
https://bimib-disco.github.io/TRONCO
GNU General Public License v3.0
28 stars 7 forks source link

as.kfold.posterr returns a data frame with all columns as characters #70

Closed rdiaz02 closed 8 years ago

rdiaz02 commented 8 years ago

I do not think that is intended as the columns for MEAN.POSTERR and SD.POSTERR are also of type character, not numeric. In fact, that this is happening can be seen also in the vignette, p. 37. This is inconvenient, and inconsistent with prederr.

Example:

data(test_model_kfold)
s1 <- as.kfold.posterr(test_model_kfold)
summary(s1[[1]])
summary(s1[[2]])
luca-dex commented 8 years ago

Thanks @rdiaz02 , 2724bb1 fix the problem