Plot a mutation heatmap

Description

Plot a Mutation Landscape with variables sample, gene, mutation

Usage

1
2
3
4
waterfall_buildMain(data_frame, grid = TRUE, label_x = FALSE,
  gene_label_size = 8, file_type = "MGI", drop_mutation = FALSE,
  plot_x_title = TRUE, plot_label = FALSE, plot_label_size = 4,
  plot_palette = NULL, layers = NULL, plot_label_angle = 0)

Arguments

data_frame

a data frame in MAF format

grid

boolean value whether to overlay a grid on the plot

label_x

boolean value whether to label the x axis

gene_label_size

numeric value indicating the size of the gene labels on the y-axis

file_type

character string specifying the file type, one of 'MAF' or 'MGI'

drop_mutation

Boolean specifying whether to drop unused "mutation type" levels from the legend

plot_x_title

Boolean specifying whether to plot the x_axis title

plot_label

Boolean specifying whether to plot text inside each cell

plot_label_size

Integer specifying text size of cell labels

plot_palette

Character vector specifying colors to fill on mutation type

layers

additional ggplot2 layers to plot

plot_label_angle

angle at which to plot label text if plot_label is true

Value

a ggplot2 object

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.