:exclamation: This is a read-only mirror of the CRAN R package repository. ggVennDiagram — A 'ggplot2' Implement of Venn Diagram. Homepage: https://github.com/gaospecial/ggVennDiagram, https://gaospecial.github.io/ggVennDiagram/
I can not change the color of the edges in ggVennDiagram:
ggVennDiagram(x_bac, color = "black", category.names = c("AM", "FE"), label_alpha = 0) +
scale_fill_gradient(low = "pink1", high = "pink4")
This works otherwise fine, but none of the commands to modify the edges have any effect(color, lty, lwd), and I get red border for AM set and light blue for FE set, no matter the settings.
I also tried the other way and this produces red edges to both sets, no matter the options:
venn <- Venn(x_bac)
data <- process_data(venn)
ggplot() +
geom_sf(aes(fill = count), data = venn_region(data)) +
geom_sf(aes(color="black"), data = venn_setedge(data), show.legend = FALSE) +
geom_sf_text(aes(label = name), data = venn_setlabel(data)) +
geom_sf_label(aes(label = count), data = venn_region(data)) +
theme_void()
Hi,
I can not change the color of the edges in ggVennDiagram:
ggVennDiagram(x_bac, color = "black", category.names = c("AM", "FE"), label_alpha = 0) + scale_fill_gradient(low = "pink1", high = "pink4")
This works otherwise fine, but none of the commands to modify the edges have any effect(color, lty, lwd), and I get red border for AM set and light blue for FE set, no matter the settings.
I also tried the other way and this produces red edges to both sets, no matter the options:
venn <- Venn(x_bac) data <- process_data(venn) ggplot() + geom_sf(aes(fill = count), data = venn_region(data)) + geom_sf(aes(color="black"), data = venn_setedge(data), show.legend = FALSE) + geom_sf_text(aes(label = name), data = venn_setlabel(data)) + geom_sf_label(aes(label = count), data = venn_region(data)) + theme_void()
What am I doing wrong here?