plot_degrees | R Documentation |
Barplot of the degrees of loci across the genome.
plot_degrees(arch, xaxis = "location", rm_x = TRUE)
arch |
A data frame containing locus-wise genetic architecture
data (see |
xaxis |
What to show on the x-axis. Either of "location" for genomic location (continuous between 0 and 1) or "locus" for locus index. |
rm_x |
Whether to remove the x-axis entirely |
A ggplot
read_architecture
root <- system.file("extdata", "sim-example", package = "speciomer") arch <- read_architecture(root)$nodes plot_degrees(arch)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.