Closed arne-cl closed 2 years ago
When running test.r, calling cons_coreg=regTFls(consensus, cons_madstar1$target, 25, '../test') causes this error:
test.r
cons_coreg=regTFls(consensus, cons_madstar1$target, 25, '../test')
> cons_coreg=regTFls(consensus, cons_madstar1$target, 25, '../test') Error in data.frame(Gene = sapply(rownames(reglist), gn_match, gndf = phyto_gn), : arguments imply differing number of rows: 0, 336 In addition: Warning messages: [...] invalid factor level, NA generated
The error disappears when using stringsAsFactors = FALSE (see commit 32e559b30c22378d9673e724b7156f1ec20ac43d)
stringsAsFactors = FALSE
When running
test.r
, callingcons_coreg=regTFls(consensus, cons_madstar1$target, 25, '../test')
causes this error: