View source: R/theme_distruct.R
theme_distruct | R Documentation |
A theme to remove most plot decorations, matching the look of plots created with distruct.
theme_distruct()
a ggplot2::theme
# Read example gt_admix object
admix_obj <-
readRDS(system.file("extdata", "anolis", "anole_adm_k3.rds",
package = "tidypopgen"
))
# Basic barplot with disstruct theme
autoplot(admix_obj, k = 3, run = 1, type = "barplot") +
theme_distruct()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.