ComplexHeatmapPlot-class: The ComplexHeatmapPlot panel

Description ComplexHeatmapPlot slot overview Constructor Supported methods Author(s) See Also Examples

Description

The ComplexHeatmapPlot is a panel class for creating a Panel that displays an assay of a SummarizedExperiment object as a Heatmap with features as rows and samples and columns, respectively. It provides slots and methods for specifying the features of interest, which assay to display in the main heatmap, any transformations to perform on the data, and which metadata variables to display as row and column heatmap annotations.

ComplexHeatmapPlot slot overview

The following slots control the rows that are used:

The following slots control the metadata variables that are used:

The following slots control the choice of assay values:

The following slots control the clustering of rows:

The following control transformations applied to rows:

The following slots control the color scale:

The following slots refer to general plotting parameters:

The following slots control the effect of the transmitted selection from another panel:

The following slots control some aspects of the user interface:

In addition, this class inherits all slots from its parent Panel class.

Constructor

ComplexHeatmapPlot(...) creates an instance of a ComplexHeatmapPlot class, where any slot and its value can be passed to ... as a named argument.

Supported methods

In the following code snippets, x is an instance of a ComplexHeatmapPlot class. Refer to the documentation for each method for more details on the remaining arguments.

For setting up data values:

For defining the interface:

For generating the output:

For monitoring reactive expressions:

For defining the panel name:

For documentation:

Author(s)

Kevin Rue-Albrecht

See Also

Panel, for the immediate parent class.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#################
# For end-users #
#################

x <- ComplexHeatmapPlot()
x[["ShowDimNames"]]
x[["ShowDimNames"]] <- c("Rows", "Columns")

##################
# For developers #
##################

library(scater)
sce <- mockSCE()
sce <- logNormCounts(sce)

old_cd <- colData(sce)
colData(sce) <- NULL

# Spits out a NULL and a warning if there is nothing to plot.
sce0 <- .cacheCommonInfo(x, sce)
.refineParameters(x, sce0)

# Replaces the default with something sensible.
colData(sce) <- old_cd
sce0 <- .cacheCommonInfo(x, sce)
.refineParameters(x, sce0)

iSEE documentation built on Feb. 3, 2021, 2:01 a.m.