Displaying 2 results from an estimated 2 matches for "fromgxl".
Did you mean:
fromgw
2011 May 17
1
R crashes if "toFile" given "~/" in Linux envirnonment
...terData help page
library(graph)
library(Rgraphviz)
g1_gz <- gzfile(system.file("GXL/graphExample-01.gxl.gz",package="graph"),
open="rb")
g11_gz <- gzfile(system.file("GXL/graphExample-11.gxl.gz",package="graph"),
open="rb")
g1 <- fromGXL(g1_gz)
g11 <- fromGXL(g11_gz)
g1_11 <- join(g1, g11)
sgl <- vector(mode="list", length=2)
sgl[[1]] <- list(graph=g1, cluster=TRUE)
sgl[[2]] <- list(graph=g11, cluster=TRUE)
ng <- agopenSimple(g1_11, "tmpsg", subGList=sgl)
clusterData(ng, 1, c("bgcolor"...
2011 May 17
0
auto clustering with Rgraphviz: possible?
...rs?
#For example
library(graph)
library(Rgraphviz)
g1_gz <- gzfile(system.file("GXL/graphExample-01.gxl.gz",package="graph"),
open="rb")
g11_gz <- gzfile(system.file("GXL/graphExample-11.gxl.gz",package="graph"),
open="rb")
g1 <- fromGXL(g1_gz)
g11 <- fromGXL(g11_gz)
g1_11 <- join(g1, g11)
plot(g1_g11)
# yields 2 obvious clusters plus 8 nodes with no edges. What I would like to
be able to do is automatically identify the 2 clusters, so that they can be
separately plotted.
Thanks,
Mark
Mark W. Kimpel MD ** Neuroinformatics...