Description Usage Arguments Value
PlotClusterImage. Plot a segmentation image with the user-given clusters.
1 2 3 4 5 6 7 8 9 | PlotClusterImage(
posMat,
clusters,
rotate = 0,
pixel_size_um = 100,
labels_x = NULL,
labels_y = NULL,
labels_text = NULL
)
|
posMat |
a two columns matrix where first column ara the x coodrinates of values and second column the y coordinates. |
clusters |
a vector with integer number according the cluster of each pixel. |
rotate |
rotation to apply. |
pixel_size_um |
the pixel resolution in um. |
labels_x |
x coordinates of text labels optionally overlaid to the plot. |
labels_y |
y coordinates of text labels optionally overlaid to the plot. |
labels_text |
text labels optionally overlaid to the plot. |
a vector with the used color for each cluster sorted according clustering numering in assending order.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.