waterfall_buildMain: Plot a mutation heatmap

Description Usage Arguments Value

View source: R/waterfall_buildMain.R

Description

Plot a Mutation Landscape with variables sample, gene, mutation

Usage

1
2
3
4
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



GenVisR documentation built on May 20, 2017, 10:10 p.m.
Search within the GenVisR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.