plot_figure2: Create a set of plots for Figure 2

Description Usage Arguments Value

View source: R/demonanalysis.R

Description

Create a set of plots for Figure 2

Usage

1
2
plot_figure2(path, output_filename = NA, file_type = "png",
  output_dir = NA, trim = -1, cutoff = 0)

Arguments

path

path to data file

output_filename

name of output image file

file_type

either "pdf" or "png" (other values default to "pdf")

output_dir

folder in which to save the image file; if NA then plots are displayed on screen instead

trim

how many rows and columns to remove from grids; if trim < 0 (default) then all rows and columns containing NA are removed

cutoff

Numeric cutoff; genotypes that never become more abundant than this value are omitted from Muller plots

Value

either an image file or a plot displyed on screen


robjohnnoble/demonanalysis documentation built on June 30, 2020, 12:47 a.m.