Skip to contents

Plot CNV heatmap

Usage

plot_CNV_heatmap(object, ...)

# S3 method for cevodata
plot_CNV_heatmap(object, meta_field, ...)

heatmap_granges(
  granges,
  meta_field,
  row_groups = NULL,
  keep_sites_present_in = floor(0.8 * length(granges)),
  color_breaks = c(0, 2, 6),
  colors = c("dodgerblue3", "white", "firebrick3"),
  window_width = 1e+06,
  upper_limit = 6,
  cluster_rows = FALSE,
  show_row_names = TRUE,
  show_column_names = FALSE,
  use_raster = TRUE,
  cluster_columns = FALSE,
  border = TRUE,
  legend_params = NULL,
  verbose = TRUE,
  ...
)

Arguments

object

cevodata

...

other arguments passed to Heatmap

meta_field

column to plot

granges

granges list

row_groups

vector

keep_sites_present_in

floor(0.8*length(granges))

color_breaks

c(0, 2, 6)

colors

c("dodgerblue3", "white", "firebrick3")

window_width

window_width

upper_limit

upper limit of color scale

cluster_rows

FALSE

show_row_names

TRUE

show_column_names

FALSE

use_raster

TRUE

cluster_columns

FALSE

border

TRUE

legend_params

goes to Heatmap(heatmap_legend_param = .)

verbose

Verbose?

Functions

  • plot_CNV_heatmap(cevodata): Plot CNVs

  • heatmap_granges(): Plot Granges list