waterfall_buildMain {GenVisR} | R Documentation

## Plot a mutation heatmap

### Description

Plot a Mutation Landscape with variables sample, gene, mutation

### Usage

    waterfall_buildMain(data_frame, grid = TRUE, label_x = FALSE,
      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
`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

[Package GenVisR version 1.8.1 Index]