Description Usage Arguments Value
View source: R/smfishHmrf.hmrfem.R
HMRF for single variate normal distribution
1 2 3 4 5 6 7 8 9 10 11 12 | smfishHmrf.hmrfem(
y,
neighbors,
numnei,
blocks,
beta = 0.5,
mu,
sigma,
err = 1e-04,
maxit = 20,
verbose
)
|
y |
gene expression matrix |
neighbors |
adjacency matrix between cells |
numnei |
an array of number of neighbors per cell |
blocks |
a list of cell colors for deciding the order of cell update |
beta |
the beta to try (smoothness parameter) |
mu |
an array of cluster mean |
sigma |
an array of cluster standard deviation |
err |
the error that is allowed between successive iterations |
maxit |
maximum number of iterations |
verbose |
TRUE or FALSE |
A list of prob, new mu, and new sigma after iterations finish
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.