signal_heatmap: Heatmap for polII binding signal

Description Usage Arguments Value Examples

View source: R/p06_signal_heatmap.R

Description

This function generate a polII binding signal heatmap using ComplexHeatmap package function Heatmap().

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
signal_heatmap(
  log2_matrix,
  htName = NULL,
  col_title = NULL,
  legend_title,
  color,
  htSplit = NULL,
  showLegend = TRUE,
  ...
)

Arguments

log2_matrix

a log2 matrix with polII expression values to be plotted as Heatmap

htName

heatmap name. Default: in not provided, col_title is used

col_title

column title for heatmap. If not provided, matrix column names are used. Default: NULL

legend_title

legend title

color

color for heamap generated by ColorRamp2

htSplit

if heatmap rows are to be split, the dataframe or vector with split information. Default: NULL

showLegend

Binary: whether to show legend or not. Default: TRUE

...

Other arguments to Heatmap function

Value

A complexheatmap object i.e. a heatmap which can be directly plotted or added to heatmap list

Examples

1

lakhanp1/chipmine documentation built on March 6, 2021, 9:06 a.m.