View source: R/segment_image.R
assign_centers | R Documentation |
assign centroid values to active embedding
assign_centers(vesalius_assay, clusters, kcenters, dimensions, ratio = NULL)
vesalius_assay |
a vesalius assy object |
clusters |
data.frame containing cluster values |
kcenters |
matrix containing centroid values for each dimension |
dimensions |
vector (nummeric / int) describin which latent space |
ratio |
if used in the context of super pixel - spatial ration dimensiuons shouls be used. |
matrix for the active embedding usiong color segementation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.