plot_effect_sizes: Plot locus effect sizes

View source: R/plot_effect_sizes.R

plot_effect_sizesR Documentation

Plot locus effect sizes

Description

Barplot of the effect sizes of loci across the genome.

Usage

plot_effect_sizes(arch, xaxis = "location", rm_x = TRUE)

Arguments

arch

A data frame containing locus-wise genetic architecture data (see ?read_architecture)

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

Value

A ggplot

See Also

read_architecture

Examples


root <- system.file("extdata", "sim-example", package = "speciomer")
arch <- read_architecture(root)$nodes
plot_effect_sizes(arch)


rscherrer/speciomer documentation built on March 11, 2023, 5:37 p.m.