plot_heatmap: Draw heatmap

Description Usage Arguments Details Value

View source: R/plot_heatmap.R

Description

Draw heatmap

Usage

1
2
3
4
plot_heatmap(mat_list, sortBy = "mean", rcb_pal = "Blues",
  sample_names = NULL, title_size = 0.8, top_profile = FALSE,
  zmins = NULL, zmaxs = NULL, scale = FALSE, file_name = NULL,
  hm_width = NULL, hm_height = 12, ...)

Arguments

mat_list

Input matrix list generated by extract_matrix

sortBy

Sort matrix by.., Can be mean, median. Default mean.

rcb_pal

Color palettte to use. RColorBrewer::display.brewer.all() to see available palettes

title_size

size of title. Default 0.8

top_profile

Boolean. Whether to draw top profile plot.

zmins

Manually specify min scores to include in heatmap

zmaxs

Manually specify max scores to include in heatmap

scale

Whether to row scale the matrix. Default FALSE

file_name

Default NULL. If provided saves plot as a tiff.

hm_width

Width of the plot

hm_height

Height of the plot

sample_bames

Manually specifcy sample names.

Details

This function takes output from extract_matrix and draws a heatmap

Value

If matrix was generated with 'k', returns BED file with cluster informartion


PoisonAlien/peakseason documentation built on May 14, 2019, 4:01 a.m.