Scoreplot | R Documentation |
Visualize the spatial data with a continuous value in each spot, e.g. expression, scHOT score.
Scoreplot( x, y, outputFolder = NULL, title = "Spatplot", value, legend = "score", savePlot = FALSE, ... )
x |
Numeric, x-coordinate of spatial data. |
y |
Numeric, y-coordinate of spatial data. |
outputFolder |
Output folder to save results |
title |
A character for the title of plot. |
value |
A vector to assign color for each spot, e.g., cell type annotation, HMRF result, expression of a certain gene. |
legend |
A character of feature to divide up cell into sub-populations, e.g. "K-means", "HMRF", "cell type". |
savePlot |
Boolean, whether to save plot. |
... |
other arguments |
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.