dge_PlotHeatmap: Plot CPM heatmap with sensible defaults

View source: R/dge_PlotHeatmap.R

dge_PlotHeatmapR Documentation

Plot CPM heatmap with sensible defaults

Description

Useful for getting a quick heatmap out of the output of dge_GetMatrix

Usage

dge_PlotHeatmap(
  mat,
  scale = "row",
  cluster_rows = TRUE,
  show_cluster_rows = FALSE,
  ...
)

Arguments

mat

A matrix, likely the output of dge_GetMatrix() (not neccesarily, though).

scale

Arg for ggheatmap, defaulting to "row" (gene-wise)

cluster_rows

Arg for ggheatmap, defaulting to TRUE (yes, cluster genes)

show_cluster_rows

Arg for ggheatmap, defaulting to FALSE (no, don't print the dendrogram)

...

Additional args to pass to ggheatmap

Value

A ggheatmap object


NKInstinct/seqHelpers documentation built on Aug. 20, 2022, 4:30 a.m.