View source: R/spatial_clust.R
spatial_clust | R Documentation |
Main Spatial Clustering Method
spatial_clust( input, u_init, v_init, w = NULL, index = NULL, lambda = 1, cnorm = NULL, k = 20, epsilon = 0.001, maxiter = 1000 )
input |
SingleCellExperiment object containing counts assay and row/col coordinates. |
u_init |
matrix; u initialization matrix |
v_init |
matrix; v initialization matrix |
w |
matrix; distance matrix. If null, computed to specification with k nearest neighbors. |
index |
w index. |
lambda |
numeric; penalization parameter. set to NULL for lambda selection. |
cnorm |
a numeric value for the amount of V normalization. NULL for no normalization. |
k |
integer; if knn = TRUE, number of nearest neighbors to consider |
epsilon |
numeric; convergence criterion |
maxiter |
integer; maximum number of iterations |
Object containing u, v and convergence information
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.