plotHeatmap: Plot a heatmap

Description Usage Arguments Value Examples

View source: R/plots.R

Description

Generates a heatmap of expression data.

Usage

1
2
3
4
5
6
7
plotHeatmap(
  object,
  num.feat = 200,
  scale = TRUE,
  feat_desc = "feature",
  sample_desc = "sample"
)

Arguments

object

A TimeSeriesExperiment object

num.feat

Number of top most features to use.

scale

Whether to scale the data (by features) before plotting.

feat_desc

One of the column names from feature_data(object) to describe the features.

sample_desc

ne of the column names from sample_data(object) to describe the samples.

Value

Returns a ggplot2 objet.

Examples

1
2
3
4
5
6
data("endoderm_small")
endoderm_small <- normalizeData(endoderm_small)
## Not run: 
    plotHeatmap(endoderm_small)

## End(Not run)

nlhuong/TimeSeriesExperiment documentation built on Sept. 8, 2021, 12:30 a.m.