save_signature_plot: Save a plot for a single mutational signature

Description Usage Arguments

View source: R/save_signature_plot.R

Description

This function saves a plot object x (usualy from plot_*_signature) to a PDF named filename.

Usage

1
save_signature_plot(x, filename, plot_height = 4)

Arguments

x

A ggplot object

filename

The name of the PDF to generate (must end in .pdf).

plot_height

The height of the plot to generate. All plots have a 1:3 aspect ratio.


edawson/tidysig documentation built on May 2, 2020, 5:33 a.m.