PomaHeatmap {POMA}R Documentation

Classical Heatmap

Description

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

Usage

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

data("st000284")

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

[Package POMA version 1.2.0 Index]