help > dNBS error when replicating an NBS analysis
Jun 4, 2021  05:06 PM | Kim Ray - UC Davis
dNBS error when replicating an NBS analysis
Dear NBS and dNBS developers, 

I am excited about the new features in the dNBS toolbox. I really like the new results outputs in the dNBS, and am trying to replicate some analyses I ran using the NBS, but I keep running into the same error when using the dNBS: 

Undefined function or variable 'C'.

Error in NBSdirected (line 129)
DIMS.nodes=size(C,2);
Error in dNBSrun (line 322)
catch; [nbs.NBS.n,nbs.NBS.con_mat,nbs.NBS.pval]=NBSdirected(nbs.STATS,-1,nbs.GLM,nbs.NBS); end
Error in dNBS>get_ui (line 178)
dNBSrun(UI,S);
Error while evaluating UIControl Callback

Can you help diagnose where my error is coming from? 

The example dataset in the dNBS runs without error. Ive looked at the dNBS example and compared it to mine, the few differences I've noticed between the dNBS example and my data is that I organized my functional connectivity matrices into a single .mat file (node x node x subject), and my node coordinates are not integers (e.g. -38.1, 48.8, 10.5). All other files I call are .mat as well (design matrix, connectivity matrices, node coordinates, node labels). Im also using ABCD data preprocessed by the Dcanlab, so the diagonal in my connectivity mats are all 7.2543 instead of the traditional 1. 
My data has run successfully using the NBS1.2 across multiple t-thresholds - just isn't running in the dNBS.
Im using Matlab version R2016b.
Thanks!

Kim

Threaded View

TitleAuthorDate
dNBS error when replicating an NBS analysis
Kim Ray Jun 4, 2021
Kim Ray Jun 5, 2021
Andrew Zalesky Jun 6, 2021
Max von Gellhorn Jun 16, 2021
Max von Gellhorn Jun 5, 2021
Andrew Zalesky Jun 4, 2021