plot_st_celltype_density | R Documentation |
Plot spatial density of a single predicted cell type for transcriptomics data
plot_st_celltype_density(
object,
celltype,
type,
if_plot_point = T,
point_color = NULL,
point_size = 1,
color_low = "grey",
color_mid = NULL,
color_high = "blue",
color_midpoint = NULL,
size = 1
)
object |
SpaTalk object generated from |
celltype |
Name of cell type in the |
type |
Select 'contour' or 'raster'. |
if_plot_point |
Whether to plot points when type is 'contour'. |
point_color |
Point color. |
point_size |
Point size. Default is |
color_low |
Color for the lowest value. |
color_mid |
Color for the middle value for using |
color_high |
Color for the highest value. |
color_midpoint |
Value for the middle scale. Default is |
size |
Line size when type is 'contour'. Default is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.