plot_loci_tt | R Documentation |
Generates a line plot of one variable through time, with one line for each locus, facetted by trait.
plot_loci_tt(data, variable, burnin_bar = TRUE)
data |
A data frame with locus-specific data through time (see
|
variable |
Name of the variable to plot (a string) |
burnin_bar |
Whether to add a vertical bar at time point zero |
A ggplot
read_loci
## Not run: root <- system.file("extdata", "sim-example", package = "speciomer") data <- read_loci(root, "locus_Fst") data <- data %>% dplyr::mutate(trait = recode_traits(trait)) plot_loci_tt(data, "Fst") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.