Heatmap Annotation Track for MarkerList Objects

Description

This method allows to add annotation tracks in heatmaps produced by aheatmap, to highlight the position of markers, when plotting either the global expression values or cell type-specific signatures, whether measured or estimated.

Usage

S4 (MarkerList)
`.atrack`(object, data = NULL, ..., view = c("single", "split", "predict"))

Arguments

object
a MarkerList object
data
the reference data to annotate
view
a character string that specifies how markers should be annotated:
  1. “single”markers are shown in a single track
  2. “split”each cell type is shown in a separate track
  3. “predict”one track for each column in data is added, and markers are shown on the track associated with the column corresponding to its maximum value.
...
extra parameters passed to .atrack