View source: R/Visualization.R
doHeatmap | R Documentation |
Plot heatmap for a Seurat object with expressioin data.
doHeatmap(seu, features=NULL, cell_label='Cell type', grp_label = FALSE,
pt_size=4, grp_color=NULL, ...)
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. |
Nothing
Return a ggplot2 object.
nothing
Wei Liu
featurePlot
library(Seurat)
data(PRECASTObj)
PRECASTObj <- SelectModel(PRECASTObj)
seuInt <- IntegrateSpaData(PRECASTObj, species='unknown')
seuInt <- ScaleData(seuInt)
doHeatmap(seuInt, features=row.names(seuInt)[1:5])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.