Skip to contents

Plot OncoPrint plot for specified list of variants

Usage

plot_onco_print(
  variant_matrix,
  column_title,
  alter_list,
  variant_colors,
  heatmap_legend,
  bottom_annotation = ComplexHeatmap::anno_empty(border = FALSE),
  top_annotation = anno_empty(border = FALSE),
  right_annotation = anno_empty(border = FALSE),
  left_annotation = anno_empty(border = FALSE),
  top = nrow(variant_matrix)
)

Arguments

variant_matrix

matrix with variants for samples/entities

column_title

Title of OncoPrint plot

alter_list

List with alter_graphics functions for variant types

variant_colors

List of defined colors for variant types

heatmap_legend

List containing legend specs (title, at, labels)

bottom_annotation

the annotation object for the bottom, default: empty

top_annotation

the annotation object for the top, default: empty

right_annotation

the annotation object for the right, default: empty

left_annotation

the annotation object for the left, default: empty

top

Plot top x genes for given variant matrix (default: all)

Value

ComplexHeatmap object