Visualize the cluster-by-cluster correlation based on a specified low-dimensional embeddings.

CCHeatMap(
  obj,
  reduction = NULL,
  legend_title = "Domain",
  grp_label = FALSE,
  pt_size = 4,
  grp_color = NULL,
  fill_legend_title = "Pearson's correlation",
  seed = 1,
  ...
)

# S3 method for SRTProject
CCHeatMap(
  obj,
  reduction = NULL,
  legend_title = "Domain",
  grp_label = FALSE,
  pt_size = 4,
  grp_color = NULL,
  fill_legend_title = "Pearson's correlation",
  seed = 1,
  ...
)

Arguments

obj

A SRTProject object with low dimension embeddings.

reduction

a string, the name of reduction (low-dimensional embeddings).

legend_title

a string, the title of legend.

grp_label

a logical value, whether display the cluster labels in plot.

pt_size

a positive real, the point size in plot.

grp_color

a string vector, the colors for each cluster in plot.

fill_legend_title

a string, the legend title for filled colors.

seed

a positive integer, a ranodm seed.

...

other arguments pass to DoHeatmap.

Value

Returns a ggplot object.

See also

None.