View source: R/plot_genome_scan.R
plot_genome_scan | R Documentation |
Plots a variable across the genome at a certain time point.
plot_genome_scan( data, variable, time, xaxis = "location", ylab_parsed = NULL, rm_x = TRUE )
data |
A data frame containing locus-specific data (see
|
variable |
Name of the variable on the y-axis |
time |
What time point to show the data for |
xaxis |
What to show on the x-axis. Either of "location" for genomic location (continuous between 0 and 1) or "locus" for locus index. |
ylab_parsed |
Label of the y-axis, parsed |
rm_x |
Whether to remove the x-axis entirely |
A ggplot
read_loci
x <- 1 + 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.