Description Usage Arguments Value
View source: R/spatial_tools.R
Visualize spatial distribution of clusters.
1 2 3 |
object |
Object of class spaceST. |
clusters |
Integer/numeric vector specifying clusters. |
HE.list |
List of paths to HE images in jpeg format that should be used as a background for the spatial heatmap. |
arrange |
Arrange plots. |
ncols |
Number of columns in arranged plot table. |
xlim, ylim |
Set limits of x/y axes. [default: xlim = c(1, 34), ylim = c(1, 36)] |
cols |
Set custom cluster colors by specifying a character vector with color codes. You can specify specific colors for each cluster by naming the character vector with the cluster ids. |
... |
additional parameters passed to geom_point(), defining the attributes of the feature coordinate points. |
Plot of clustered featured overlayed on black and white HE image.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.