E(graph)$weight <- graph.simi$we.width
write.graph(graph, fileout, format = 'graphml')
#saveAsGEXF(graph, filepath = fileout)
- """ % (self.pathout['RData.RData'], self.parent.RscriptsPath['simi'], fileout)
+ """ % (ffr(self.pathout['RData.RData']), ffr(self.parent.RscriptsPath['simi']), fileout)
filetmp = tempfile.mktemp()
with open(filetmp, 'w') as f :
f.write(txt)
E(graph)$weight <- graph.simi$we.width
write.graph(graph, fileout, format = 'graphml')
#saveAsGEXF(graph, filepath = fileout)
- """ % (self.pathout['RData.RData'], self.parent.RscriptsPath['simi'], fileout)
+ """ % (ffr(self.pathout['RData.RData']), ffr(self.parent.RscriptsPath['simi']), fileout)
filetmp = tempfile.mktemp()
with open(filetmp, 'w') as f :
f.write(txt)