smfishHmrf.hmrfem {smfishHmrf} | R Documentation |
smfishHmrf.hmrfem
Description
HMRF for single variate normal distribution
Usage
smfishHmrf.hmrfem(
y,
neighbors,
numnei,
blocks,
beta = 0.5,
mu,
sigma,
err = 1e-04,
maxit = 20,
verbose
)
Arguments
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 |
Value
A list of prob, new mu, and new sigma after iterations finish
[Package smfishHmrf version 0.1 Index]