help > RE: Creating required file (*.edge, *.node)
Oct 24, 2019  02:10 PM | Janzaib Masood
RE: Creating required file (*.edge, *.node)
Originally posted by Vahab Youssofzadeh:
Hi all, I found the solution:


load R
load Labels
tmp = char(L);
node = strcat(num2str(R),tmp);
node(:,end-4:end-3) = char(' ');
dlmwrite('test.node',node,'delimiter','');

for edge files you can simply try,

dlmwrite('edge.edge',edge,'\t');

Best regards,
Vahab
Dear Vahab,
Thank you for the code above. The edge making part is not working. Could you please put here an example script that could give us both the node and edge file?

Threaded View

TitleAuthorDate
farzaneh keyvan Jun 24, 2016
Mingrui Xia Jun 24, 2019
Mingrui Xia Jun 24, 2016
src Jun 17, 2019
farzaneh keyvan Jun 25, 2016
Mingrui Xia Jul 30, 2016
Vahab Youssofzadeh Jul 22, 2016
Vahab Youssofzadeh Jul 22, 2016
RE: Creating required file (*.edge, *.node)
Janzaib Masood Oct 24, 2019
Mingrui Xia Jul 30, 2016
farzaneh keyvan Jun 24, 2016