Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Extract.HeatmapAnnotation

Subset the HeatmapAnnotation object


Description

Subset the HeatmapAnnotation object

Usage

## S3 method for class 'HeatmapAnnotation'
x[i, j]

Arguments

x

A HeatmapAnnotation-class object.

i

Index of observations.

j

Index of annotations.

Examples

ha = HeatmapAnnotation(foo = 1:10, bar = anno_points(10:1),
	sth = cbind(1:10, 10:1))
ha[1:5, ]
ha[, c("foo", "bar")]
ha[, 1:2]
ha[1:5, c("foo", "sth")]

ComplexHeatmap

Make Complex Heatmaps

v2.6.2
MIT + file LICENSE
Authors
Zuguang Gu
Initial release
2020-11-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.