PomaHeatmap: Classical Heatmap

Description Usage Arguments Value Author(s) Examples

View source: R/PomaHeatmap.R

Description

This function returns a basic heatmap plot made with base R.

Usage

1
2
3
4
5
6
PomaHeatmap(
  data,
  sample_names = TRUE,
  feature_names = FALSE,
  show_legend = TRUE
)

Arguments

data

A MSnSet object. First pData column must be the subject group/type.

sample_names

Logical indicating if sample names should be plotted or not. Default is TRUE.

feature_names

Logical indicating if feature names should be plotted or not. Default is FALSE.

show_legend

Logical indicating if legend should be plotted or not. Default is TRUE.

Value

A heatmap.

Author(s)

Pol Castellano-Escuder

Examples

1
2
3
4
5
data("st000284")

st000284 %>% 
  PomaNorm() %>% 
  PomaHeatmap()

POMA documentation built on Nov. 8, 2020, 6:26 p.m.