SingleRasterMap: A single heatmap from ggplot2 using geom_raster. Copy from...

Description Usage Arguments

View source: R/Visualization.R

Description

A single heatmap from ggplot2 using geom_raster. Copy from Seurat

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
SingleRasterMap(
  data,
  raster = TRUE,
  cell.order = NULL,
  feature.order = NULL,
  colors = PurpleAndYellow(),
  disp.min = -2.5,
  disp.max = 2.5,
  limits = NULL,
  group.by = NULL
)

Arguments

data

A matrix or data frame with data to plot

raster

switch between geom_raster and geom_tile

cell.order

...

feature.order

...

disp.min

Minimum display value (all values below are clipped)

disp.max

Maximum display value (all values above are clipped)

limits

A two-length numeric vector with the limits for colors on the plot

group.by

A vector to group cells by, should be one grouping identity per cell

cols

A vector of colors to use


WilsonImmunologyLab/LinQView documentation built on Jan. 3, 2022, 10 p.m.