plotExchangeSpectra: Plot the spectra of nucleotide exchanges

Description Usage Arguments Value See Also Examples

View source: R/plot_functions.R

Description

Plots the spectra of nucleotide exchanges in their triplet contexts. If several columns are present in the input data frame, the spectra are plotted for every column separately.

Usage

1
2
plotExchangeSpectra(in_catalogue_df, in_colour_vector = NULL,
  in_show_triplets = FALSE, in_show_axis_title = FALSE)

Arguments

in_catalogue_df

Numerical data frame encoding the exchange spectra to be displayed, either a mutational catalogue V or a signatures matrix W.

in_colour_vector

Specifies the colours of the 6 nucleotide exchanges if non-null.

in_show_triplets

Whether or not to show the triplets on the x-axis

in_show_axis_title

Whether or not to show the name of the y-axis

Value

The generated barplot - a ggplot2 plot

See Also

geom_bar

facet_grid

Examples

1

huebschm/YAPSA documentation built on May 17, 2019, 9:11 p.m.