plotRearrSignatures: Plot Rearrangement Signatures or Catalogues

Description Usage Arguments

View source: R/signatures_utils.R

Description

Function to plot one or more rearrangement signatures or catalogues.

Usage

1
2
3
4
5
6
7
8
plotRearrSignatures(
  signature_data_matrix,
  output_file = NULL,
  plot_sum = TRUE,
  overall_title = "",
  add_to_titles = NULL,
  mar = NULL
)

Arguments

signature_data_matrix

matrix of signatures, signatures as columns and channels as rows

output_file

set output file, should end with ".jpg". If output_file==null, output will not be to a file, but will still run the plot functions. The option output_file==null can be used to add this plot to a larger output file.

plot_sum

whether the sum of the channels should be plotted. If plotting signatures this should be FALSE, but if plotting sample catalogues, this can be set to TRUE to display the number of mutations in each sample.

overall_title

set the overall title of the plot

mar

set the option par(mar=mar)


pdiakumis/hrdetect documentation built on May 17, 2020, 5:30 p.m.