combine_plots: Make cow plot

View source: R/combine_plots.R

combine_plotsR Documentation

Make cow plot

Description

Combine all plots into a single plot using the cowplot package

Usage

combine_plots(
  Plot_list = NULL,
  out_file = NULL,
  return_plot = FALSE,
  width = 800,
  height = 1000,
  Title = "",
  Xlab = "",
  Ylab = "",
  Title_size = 0,
  Title_axis_size = 0,
  by2cols = TRUE,
  Ncol = 2,
  Tiff = FALSE
)

Arguments

Plot_list

plots to combine. Can either be vector of character strings giving the names of plot objects or a list of plot objects.

out_file

filepath to save the plot

return_plot

logical argument. If TRUE, plot is returned and is not save to out_file

width

width of plot

height

height of plot

Title

plot title

Xlab

label for X axis

Ylab

label for Y axis

Title_size

size of title

Title_axis_size

size of x axis title

by2cols

logical argument. If true, forces plot to have 2 columns

Ncol

number of columns

Tiff

save plot in tiff format. Default is set to FALSE. If set to FALSE, the plot is saved in png format. Not applicable if return_plot is set to TRUE.

Value

plot


MRCIEU/mrQC documentation built on May 6, 2023, 1:40 p.m.