I am trying module preservation with WGCNA using my own data. I am plotting the summary statistics including Zsummary, medianRank, observed IGP and IGP permutation p-value for two comparison data sets.
When plotting the scatterplots for IGP & p-value vs. module size I get following error code. I have re-run code and done practice data with no problems but unsure how to correct for this error? Does anyone have any experience with this and know how to resolve? Thank you kindly
plotData[][, 3] = cr[[ref]][[test]]$Acutal.IGP plotData[],[, 4] = -log(cr[[ref]][[test]]$p.value + 1e -4) errror in plotData[][, 3] = cr[[ref]][[test]]$Acutal.IGP number of items to replace is not a multiple of replacement length`````