plot_st_cor_heatmap | R Documentation |
Plot heatpmap of correlation between the expression of marker genes and the predicted score of cell types among all spatial cells or spots.
plot_st_cor_heatmap(
object,
marker_genes,
celltypes,
color_low = NULL,
color_mid = NULL,
color_high = NULL,
scale = "none",
if_show_top = T,
top_direction = "row",
border_color = NA
)
object |
SpaTalk object generated from |
marker_genes |
A character containing the known marker genes to plot, provide at least two marker genes of interest. |
celltypes |
A character containing name of cell type in the |
color_low |
Color for the lowest value. |
color_mid |
Color for the middle value for using |
color_high |
Color for the highest value. |
scale |
Character indicating if the values should be centered and scaled in either the row direction or the column direction, or none. Corresponding values are 'row', 'column' and 'none'. |
if_show_top |
Whether to plot a symbol to the highest value across rows or columns. Default is |
top_direction |
Direction to identify the highest value, select |
border_color |
Color of the cell border. Default is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.