@@ -68,8 +68,8 @@ g3=ggplot(connectivity_prop_jac)+
6868# #plot the network plus the counts of unconnected
6969plot_jac = ggarrange(g1 ,g2 ,g3 , ncol = 3 , widths = c(10 ,1 ,1 ))
7070
71- suppressMessages(suppressWarnings(ggsave(" PATHTOOUTPUT/network_plotting.jaccard.png" , plot = plot_jac , units = " in" , height = 300 , width = 400 , limitsize = FALSE )))
72- suppressMessages(suppressWarnings(ggsave(" PATHTOOUTPUT/network_plotting.jaccard.svg" , plot = plot_jac , units = " in" , height = 300 , width = 400 , limitsize = FALSE )))
71+ suppressMessages(suppressWarnings(ggsave(" PATHTOOUTPUT/network_plotting.jaccard.png" , plot = plot_jac , units = " in" , height = 8 , width = 14 , limitsize = FALSE )))
72+ suppressMessages(suppressWarnings(ggsave(" PATHTOOUTPUT/network_plotting.jaccard.svg" , plot = plot_jac , units = " in" , height = 8 , width = 14 , limitsize = FALSE )))
7373
7474
7575# ###############################################################
@@ -85,7 +85,7 @@ graph_cont = tbl_graph(nodes = nodes, edges = edges_cont, directed = FALSE)
8585g4 = ggraph(graph_cont , layout = " fr" ) +
8686 geom_edge_link(aes(edge_alpha = weight ), edge_colour = " black" , show.legend = FALSE ) +
8787 geom_node_point(size = 3 , aes(colour = type )) +
88- theme_void( ) +
88+ theme_no_axes() + theme( legend.position = " bottom " , legend.title = element_blank() ) +
8989 theme(legend.position = " top" ,plot.margin = unit(rep(1 , 4 ), " cm" ),legend.title = element_blank())+
9090 scale_color_manual(values = c(" blue" , " red" ))
9191
@@ -131,6 +131,6 @@ g6=ggplot(connectivity_prop_cont)+
131131plot_cont = ggarrange(g4 ,g5 ,g6 , ncol = 3 , widths = c(10 ,1 ,1 ))
132132
133133
134- suppressMessages(suppressWarnings(ggsave(" PATHTOOUTPUT/network_plotting.containment.png" , plot = plot_cont , units = " in" , height = 300 , width = 400 , limitsize = FALSE )))
135- suppressMessages(suppressWarnings(ggsave(" PATHTOOUTPUT/network_plotting.containment.svg" , plot = plot_cont , units = " in" , height = 300 , width = 400 , limitsize = FALSE )))
134+ suppressMessages(suppressWarnings(ggsave(" PATHTOOUTPUT/network_plotting.containment.png" , plot = plot_cont , units = " in" , height = 8 , width = 14 , limitsize = FALSE )))
135+ suppressMessages(suppressWarnings(ggsave(" PATHTOOUTPUT/network_plotting.containment.svg" , plot = plot_cont , units = " in" , height = 8 , width = 14 , limitsize = FALSE )))
136136
0 commit comments