View source: R/segment_image.R
kmeans_segmentation | R Documentation |
kmeans segmentation function
kmeans_segmentation(
vesalius_assay,
dimensions = seq(1, 3),
col_resolution = 10,
embedding = "last",
verbose = TRUE
)
vesalius_assay |
a vesalius_assay |
dimensions |
numeric vector of latent space dimensions to use. |
col_resolution |
integer or vector of positive integers. Colour depth used for segmentation. |
embedding |
character string describing which embedding should be used. |
verbose |
logical - progress message output. |
Run an interaive kmeans segmentation with the possibility to run multiple rounds of smoothing.
list containing segmented image as an active embedding and territory cluster for all barcodes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.