plot_genome_scan: Plot a genome scan

View source: R/plot_genome_scan.R

plot_genome_scanR Documentation

Plot a genome scan

Description

Plots a variable across the genome at a certain time point.

Usage

plot_genome_scan(
  data,
  variable,
  time,
  xaxis = "location",
  ylab_parsed = NULL,
  rm_x = TRUE
)

Arguments

data

A data frame containing locus-specific data (see ?read_loci)

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

Value

A ggplot

See Also

read_loci

Examples


x <- 1 + 1


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