Entering edit mode
I am trying to make WGCNA module but I am getting an error
lnames = load(file = "WGCNA_module_part_1.RData")
Error is following-
Error in load(file = "WGCNA_module_part_1.RData") : bad restore file magic number (file may be corrupted) -- no data loaded In addition: Warning message: file ‘WGCNA_module_part_1.RData’ has magic number 'libra' Use of save versions prior to 2 is deprecated
try
readRDS
instead ofload
. If that doesn't work there might be a compatibility issue between the your R version and the one used to generate theWGCNA_module_part_1.RData
source: link