Hi Christopher,
Sorry to bother you again. Based on brainGraph V3.0, I tried many times to plot adjacency matrix (Chapter 15.2.1), there was a error reported as following:
"
Error in plot.corr_mats(corrs, thresh.num = 18, order.by = "comm", graphs = g.subject[[18]], : object 'new.order' not found"
Could you help me to figure out how to fix this bug? My codes for this plot were listed as following:
densities <- seq(0.05, 0.40, 0.01)
corrs <- corr.matrix(myResids,
densities=densities,
what = 'resids',
exclude.reg=exclude.reg)
g.subject <- lapply(seq_along(densities), function(x)
make_brainGraphList(
corrs[x],
atlas = 'dk',
level = "subject",
weighted = TRUE,
modality = 'thickness',
.progress = F
))
matplot.comm <-
plot(
corrs,
thresh.num = 18,
order.by = 'comm',
graphs = g.subject[[18]],
grp.names = ''
) ##
a error reported herematplot.lobe <- plot(corrs, thresh.num = 18) ##
the same error reported here
Best,
Hui