abetadms__plot_fitness_vs_position: abetadms__plot_fitness_vs_position

Description Usage Arguments Value

View source: R/abetadms__plot_fitness_vs_position.R

Description

Plot fitness versus position.

Usage

1
2
3
abetadms__plot_fitness_vs_position(input_dt, output_file, ylab,
  use_sigma = F, span = 0.75, label_offset = 0.05, plot_rect = F,
  plot_hotspot = F)

Arguments

input_dt

a data.table with columns: fitness, sigma, region, Pos (required)

output_file

path to output plot (required)

ylab

y-axis title (required)

use_sigma

whether to use error in 'sigma' column (default:F i.e. error estimated from fitness distribution)

span

loess smoother span

label_offset

annotation label offset

plot_rect

whether to plot

plot_hotspot

whether to plot hotspot

Value

Nothing


lehner-lab/abetadms documentation built on April 16, 2020, 11:50 a.m.