Create a ggplot with transparent background.
theme_transparent(base_size = 12, base_family = "")
base font size
base font family
# Create a scatter plot
sp <- ggscatter(iris, x = "Sepal.Length", y = "Sepal.Width",
color = "Species", palette = "jco",
size = 3, alpha = 0.6)
sp
# Transparent theme
sp + theme_transparent()