search for: layout_with_mds

Displaying 12 results from an estimated 12 matches for "layout_with_mds".

2024 Feb 24
2
igraph_vertex
..., + vertex.size=V(.)$hub_score*1, + vertex.frame.color=V(.)$color, + vertex.label.color="white", + vertex.label.cex=0.5, + vertex.label.family="Helvetica", + vertex.label.font=1, + edge.curved=0.5, + edge.width= network, + layout=layout_with_mds(.)) Error in intI(i, n = x at Dim[1], dn[[1]], give.dn = FALSE) : Index gr??er als maximales 6 Reproducible example: edge_list<-read.csv("edges_table_Test.csv") #create network and add some necessary attributes (vertices) for the plot network <- graph_from_data_...
2024 Feb 24
1
igraph_vertex
...)$color, > > +???? vertex.label.color="white", > > +???? vertex.label.cex=0.5, > > +???? vertex.label.family="Helvetica", > > +???? vertex.label.font=1, > > +???? edge.curved=0.5, > > +???? edge.width= network, > > +???? layout=layout_with_mds(.)) > > Error in intI(i, n = x at Dim[1], dn[[1]], give.dn = FALSE) : > > ? Index gr??er als maximales 6 > > ? > > ? > > Reproducible example: > > ? > > edge_list<-read.csv("edges_table_Test.csv") > > ? > > #create network...
2024 Feb 25
1
igraph_vertex
...ty], vertex.size=V(.)$hub_score*5, vertex.frame.color=V(.)$color, vertex.label.color="white", vertex.label.cex=0.5, vertex.label.family="Helvetica", vertex.label.font=1, edge.curved=0.5, HERE --> edge.width= network, <-- HERE layout=layout_with_mds(.)) Try to comment out his line and see what happens. What network data variable should be mapped to edge width? Best, Kimmo su, 2024-02-25 kello 09:59 +0100, sibylle.stoeckli at gmx.ch kirjoitti: > Dear coummunity > > Thanks a lot to David and Kimmo. Yes I see now that I need to provi...
2024 Feb 24
1
igraph_vertex
....color=V(.)$color, > > + vertex.label.color="white", > > + vertex.label.cex=0.5, > > + vertex.label.family="Helvetica", > > + vertex.label.font=1, > > + edge.curved=0.5, > > + edge.width= network, > > + layout=layout_with_mds(.)) > > Error in intI(i, n = x at Dim[1], dn[[1]], give.dn = FALSE) : > > Index gr??er als maximales 6 > > > > > > Reproducible example: > > > > edge_list<-read.csv("edges_table_Test.csv") > > > > #create network and...
2024 Feb 26
1
igraph_vertex
...> ??? vertex.frame.color=V(.)$color, > ??? vertex.label.color="white", > ??? vertex.label.cex=0.5, > ??? vertex.label.family="Helvetica", > ??? vertex.label.font=1, > ??? edge.curved=0.5, > HERE -->??? edge.width= network,? <-- HERE > ??? layout=layout_with_mds(.)) > > Try to comment out his line and see what happens. What network data > variable should be mapped to edge width? > > Best, > Kimmo > > su, 2024-02-25 kello 09:59 +0100, sibylle.stoeckli at gmx.ch?kirjoitti: > > Dear coummunity > > > > Thanks a lot...
2024 Feb 24
1
igraph_vertex
...color="white", >> >> +???? vertex.label.cex=0.5, >> >> +???? vertex.label.family="Helvetica", >> >> +???? vertex.label.font=1, >> >> +???? edge.curved=0.5, >> >> +???? edge.width= network, >> >> +???? layout=layout_with_mds(.)) >> >> Error in intI(i, n = x at Dim[1], dn[[1]], give.dn = FALSE) : >> >> ? Index gr??er als maximales 6 >> >> >> >> >> >> Reproducible example: >> >> >> >> edge_list<-read.csv("edges_table_Tes...
2024 Feb 25
1
igraph_vertex
...rs[V(.)$community], vertex.size=V(.)$hub_score*5, vertex.frame.color=V(.)$color, vertex.label.color="white", vertex.label.cex=0.5, vertex.label.family="Helvetica", vertex.label.font=1, edge.curved=0.5, edge.width= network, layout=layout_with_mds(.)) #error Error in intI(i, n = x at Dim[1], dn[[1]], give.dn = FALSE) : Index gr??er als maximales 6 # Test_adjac.csv A.A B.B C.C D.D E.E F.F A.A 0 0 5 5 5 5 B.B 4 0 1 1 1 1 C.C 5 5 0 5 4 2 D.D 5 0 5 0 5 3 E.E 5 1 5 5 0 4 F.F 1 2 3 4 5 5 # Test_cat.csv Names corresponding-NCP Category Subca...
2024 Mar 22
1
geom_edge & color
..."white", vertex.label.cex=0.4, vertex.label.family="Helvetica", vertex.label.font=0.75, edge.curved=0.5, edge.width= E(.)$weight, edge.color = ifelse(edge_list$relationship == "pos", "blue", "red"), layout=layout_with_mds(.)) tiff("figures/Test_network_bysubcatecory.tiff", width=1000, height=900, res=120) network %>% ggraph(., layout = "auto")+ geom_edge_arc(curvature=0.3, aes(width=(E(network)$weight/10), color=c("darkblue", "red")[as.factor(edge_list$relationsh...
2024 Mar 21
1
geom_edge & color
...e=V(.)$hub_score*5, > ???? vertex.frame.color=V(.)$color, > ???? vertex.label.color="white", > ???? vertex.label.cex=0.5, > ???? vertex.label.family="Helvetica", > ???? vertex.label.font=1, > ???? edge.curved=0.5, > ???? edge.width= network, > ???? layout=layout_with_mds(.)) > > ### part 2: ggraph > tiff("figures/AES_network_bymembership.tiff", width=1000, height=700, > res=120) network %>% > ? ggraph(., layout = "auto")+ > geom_edge_arc(curvature=0.3, aes(width=(E(network)$weight/10), > color=c("darkblue", &qu...
2024 Mar 22
1
geom_edge & color
...???? vertex.label.family="Helvetica", > > ???? vertex.label.font=0.75, > > ???? edge.curved=0.5, > > ???? edge.width= E(.)$weight, > > ???? edge.color = ifelse(edge_list$relationship == "pos", "blue", "red"), > > ???? layout=layout_with_mds(.)) > > ? > > tiff("figures/Test_network_bysubcatecory.tiff", width=1000, height=900, > res=120) > > network %>% > > ? ggraph(., layout = "auto")+ > > ? geom_edge_arc(curvature=0.3, aes(width=(E(network)$weight/10), > color=c("dar...
2024 Mar 20
1
geom_edge & color
...or=clrs[V(.)$community], vertex.size=V(.)$hub_score*5, vertex.frame.color=V(.)$color, vertex.label.color="white", vertex.label.cex=0.5, vertex.label.family="Helvetica", vertex.label.font=1, edge.curved=0.5, edge.width= network, layout=layout_with_mds(.)) ### part 2: ggraph tiff("figures/AES_network_bymembership.tiff", width=1000, height=700, res=120) network %>% ggraph(., layout = "auto")+ geom_edge_arc(curvature=0.3, aes(width=(E(network)$weight/10), color=c("darkblue", "red")[as.factor(edge_list$r...
2024 Feb 26
1
igraph_vertex
...*5, > vertex.frame.color=V(.)$color, > vertex.label.color="white", > vertex.label.cex=0.5, > vertex.label.family="Helvetica", > vertex.label.font=1, > edge.curved=0.5, > HERE --> edge.width= network, <-- HERE > layout=layout_with_mds(.)) > > Try to comment out his line and see what happens. What network data > variable should be mapped to edge width? > > Best, > Kimmo > > su, 2024-02-25 kello 09:59 +0100, sibylle.stoeckli at gmx.ch kirjoitti: > > Dear coummunity > > > > Thanks a lo...