help
help > RE: List of node labels in significant network
Jun 29, 2014 06:06 AM | Andrew Zalesky
RE: List of node labels in significant network
Hi Peter,
You can certainly print out a list of connections comprising a significant network, and thus trivially infer the node labels from this list.
Please see page 30 of the reference manual for details. In short, type the following at the command line after you have your results:
global nbs; [i,j]=find(nbs.NBS.con_mat{1});
for n=1:length(i)
i_lab=nbs.NBS.node_label{i(n)};
j_lab=nbs.NBS.node_label{j(n)};
stat=nbs.NBS.test_stat(i(n),j(n));
fprintf('%s to %s. Test stat: %0.2f\n',i_lab,j_lab,stat);
end
Andrew
Originally posted by Peter McColgan:
You can certainly print out a list of connections comprising a significant network, and thus trivially infer the node labels from this list.
Please see page 30 of the reference manual for details. In short, type the following at the command line after you have your results:
global nbs; [i,j]=find(nbs.NBS.con_mat{1});
for n=1:length(i)
i_lab=nbs.NBS.node_label{i(n)};
j_lab=nbs.NBS.node_label{j(n)};
stat=nbs.NBS.test_stat(i(n),j(n));
fprintf('%s to %s. Test stat: %0.2f\n',i_lab,j_lab,stat);
end
Andrew
Originally posted by Peter McColgan:
Dear Andrew,
Thanks for this excellent toolbox, is there a way I call print a list of the node labels that comprise the connections in the significant network?
Thanks for your help.
Peter
Thanks for this excellent toolbox, is there a way I call print a list of the node labels that comprise the connections in the significant network?
Thanks for your help.
Peter
Threaded View
| Title | Author | Date |
|---|---|---|
| Peter McColgan | Jun 28, 2014 | |
| Andrew Zalesky | Jun 29, 2014 | |
| Peter McColgan | Jul 9, 2014 | |
| Juan Pablo Princich | Sep 19, 2016 | |
| Juan Pablo Princich | Sep 19, 2016 | |
| Andrew Zalesky | Sep 20, 2016 | |
