R/visualization.R
EachRGBSpaHeatMap.Rd
The function EachRGBSpaHeatMap
is used to visualize the RGB colors of 3-dimensional embeddings on spatial coordinates.
EachRGBSpaHeatMap(obj, ...)
# S3 method for list
EachRGBSpaHeatMap(
obj,
title_name = NULL,
combine = TRUE,
layout.dim = c(round(length(obj[[2]])/2), 2),
no_axis = FALSE,
pt_size = 2,
base_size = 10,
border_col = "gray",
axis_names = c("Coord x", "Coord y"),
no_axis_name = FALSE,
...
)
# S3 method for SRTProject
EachRGBSpaHeatMap(
obj,
batch = NULL,
plot_type = c("UMAP", "tSNE"),
layout.dim = NULL,
combine = TRUE,
title_name = NULL,
no_axis = TRUE,
pt_size = 2,
base_size = 10,
border_col = "gray",
axis_names = c("Coord x", "Coord y"),
no_axis_name = FALSE,
...
)
A SRTProject object.
Arguments passed to ggarrange
.
a string, the title of plot.
a logical value, whether plot all on a figure. If TRUE, all figures are plotted; otherwise, return a list with each plot as component. TRUE by default.
a 2 integer vector, the dimension in the layout of plots when combine = TRUE
.
a logical value, whether display the axis in plot.
a positive real, the point size in plot.
a positive real, the baseline text size in the plot
a string, the color of border in plot.
a 2 string vector, the axis names in plot.
a logical value, whether display the axis name in plot.
a string vector or positive integer vector, the batch names or IDs to be plotted.
a string, the type of plot, one of "UMAP" and "tSNE".
a logical value, whether combine the legend of multiple plots. TRUE by default.