plot_all_images: Create a set of grid and Muller plots

Description Usage Arguments Value Examples

View source: R/demonanalysis.R

Description

Create a set of grid and Muller plots

Usage

1
2
3
plot_all_images(path, output_filename = NA, file_type = "png",
  output_dir = NA, trim = -1, include_genotype_plots = TRUE,
  cutoff = 0, min_birth_rate = NA, max_birth_rate = NA)

Arguments

path

folder containing the input files

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

include_genotype_plots

whether to include genotype plots

cutoff

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

min_birth_rate

minimum value for birth rate scale (set automatically by default)

max_birth_rate

maximum value for birth rate scale (set automatically by default)

Value

either an image file or a plot displyed on screen

Examples

1
plot_all_images(system.file("extdata", "", package = "demonanalysis", mustWork = TRUE))

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