Description Usage Arguments Value
View source: R/demonanalysis.R
Create a set of plots for Figure 2
1 2 | plot_figure2(path, output_filename = NA, file_type = "png",
output_dir = NA, trim = -1, cutoff = 0)
|
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 |
either an image file or a plot displyed on screen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.