HMRF for single variate normal distribution
smfishHmrf.hmrfem(
y,
neighbors,
numnei,
blocks,
beta = 0.5,
mu,
sigma,
err = 1e-04,
maxit = 20,
verbose
)
gene expression matrix
adjacency matrix between cells
an array of number of neighbors per cell
a list of cell colors for deciding the order of cell update
the beta to try (smoothness parameter)
an array of cluster mean
an array of cluster standard deviation
the error that is allowed between successive iterations
maximum number of iterations
TRUE or FALSE
A list of prob, new mu, and new sigma after iterations finish