doHeatmap {PRECAST}R Documentation

Heatmap for spots-by-feature matrix

Description

Plot heatmap for a Seurat object with expressioin data.

Usage

  doHeatmap(seu, features=NULL, cell_label='Cell type', grp_label = FALSE,
                      pt_size=4, grp_color=NULL, ...)

Arguments

seu

an object named "Seurat". The object of class "Seurat" must include slot "scale.data".

features

an optional string vector, the features to be plotted.

cell_label

an optional string, the name of legend.

grp_label

an optional logical value, whether display the group names.

pt_size

the point size used in the plot

grp_color

the colors to use for the group color bar.

...

Other paramters passed to DoHeatmap.

Details

Nothing

Value

Return a ggplot2 object.

Note

nothing

Author(s)

Wei Liu

See Also

featurePlot

Examples


  library(Seurat)
  data(PRECASTObj)
  PRECASTObj <- SelectModel(PRECASTObj)
  seuInt <- IntegrateSpaData(PRECASTObj, species='unknown')
  seuInt <- ScaleData(seuInt)
  doHeatmap(seuInt, features=row.names(seuInt)[1:5])
  

[Package PRECAST version 1.6.5 Index]