few changes
authorPierre <ratinaud@univ-tlse2.fr>
Tue, 11 Feb 2014 13:09:39 +0000 (14:09 +0100)
committerPierre <ratinaud@univ-tlse2.fr>
Tue, 11 Feb 2014 13:09:39 +0000 (14:09 +0100)
Rscripts/simi.R

index e259cbc..2564e2e 100644 (file)
@@ -334,6 +334,9 @@ plot.simi <- function(graph.simi, p.type = 'tkplot',filename=NULL, communities =
         rgl.close()
        #       while (rgl.cur() != 0)
        #               Sys.sleep(0.5)
+       } else if (p.type == 'web') {
+               library(rgexf)
+               simi.to.gexf(filename, graph.simi, nodes.attr = NULL)
        }
 }