bioinformatics-ptp / detectRUNS

detectRuns: a R Package for Runs of Homozygosity and Runs of Heterozygosity
8 stars 4 forks source link

error in mice algorithm #45

Closed mehrdad123qaderi closed 3 weeks ago

mehrdad123qaderi commented 3 months ago

in this code: SL.lib <- c("SL.mean") imp.SL <- mice::mice( df_missing10, m = 5, maxit = 5, method = "SuperLearner", print = FALSE, SL.library = SL.lib) i have error: Error in names(newdata) <- sapply(1:ncol(newdata), function(n) { : 'names' attribute [2] must be the same length as the vector [0]

bunop commented 3 months ago

@mehrdad123qaderi , this seems not related to detectRUNS, should you post this question on mice bugreports?