Visualize the expressions of the selected features (genes) for all cells/spots.
GCHeatMap(
obj,
features,
cell_label = "Domain",
fill_legend_title = "Expression",
do.scale = TRUE,
grp_label = FALSE,
pt_size = 4,
grp_color = NULL,
ncol.legend = 1,
legend.position = "right",
axis_text_y = TRUE,
y_text_size = 5,
...
)
# S3 method for SpatialExperiment
GCHeatMap(
obj,
features,
cell_label = "Domain",
fill_legend_title = "Expression",
do.scale = TRUE,
grp_label = FALSE,
pt_size = 4,
grp_color = NULL,
ncol.legend = 1,
legend.position = "right",
axis_text_y = TRUE,
y_text_size = 5,
...
)
a SpatialExperiment object.
a string vector, a group of selected genes' names.
a string, specify name of clusters.
a string, the legend title.
a logical value, whether scale the gene expression for plot, default as TRUE
.
a logical value, whether display the cluster labels in plot.
a positive real, the point size in plot.
a string vector, the colors for each cluster in plot.
a positive number, the number of columns for legend.
a string, the postion of legend.
a logical value, whether display the tick text in y-axis.
a positive real, the text size for y-axis.
other arguments pass to DoHeatmap
.
Returns a ggplot object.
Returns a ggplot object.
None