View source: R/plot_full_scan.R
plot_full_scan | R Documentation |
Plots an assemblage of various genome scans at a given time point, locus- specific elements of the genetic architecture and the gene network for one of the three traits. Genome scans are shown for allele frequencies, Fst, Qst, Cst and average mutational effects.
plot_full_scan(data, grn, time, trait, trait_data = NULL)
data |
A data frame containing locus-specific data (see
|
grn |
A list of two data frames containing the genetic architecture
(the output of |
time |
Which time point to plot the variables for in the genome scans. |
trait |
Which trait to show the network for (1, 2 or 3) |
trait_data |
Data frame with individual-wise trait data
(see |
A patchwork
grn
is internally converted to a tbl_graph
before being
passed to plot_network
.
read_architecture
, read_loci
, plot_genome_scan
,
plot_barcode
, plot_effect_sizes
, plot_degrees
,
plot_network
, read_individuals
, plot_eco_trait_histogram
## Not run: root <- system.file("extdata", "sim-example", package = "speciomer") data <- read_loci(root, c("freq", "Fst", "Qst", "Cst", "alpha")) grn <- read_architecture(root) plot_full_scan(data, grn, time = -1000, trait = 1) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.