Description Usage Arguments Examples
View source: R/smfishHmrf.hmrfem.R
This function assumes that HMRF has been run via smfishHmrf.hmrfem.multi, smfishHmrf.hmrfem.multi.it or smfishHmrf.hmrfem.multi.it.min function. It assumes the results have been generated. This function saves the results of each beta to the output directory. It will return void.
1 | smfishHmrf.hmrfem.multi.save(name, outdir, beta, tc.hmrfem, k)
|
name |
name for this run (eg test) |
outdir |
output directory |
beta |
beta to save |
tc.hmrfem |
the result of running of hmrfem on single beta (from smfishHmrf.hmrfem.multi) |
k |
number of clusters |
1 2 3 4 5 6 | data(seqfishplus)
s <- seqfishplus
tc.hmrfem<-smfishHmrf.hmrfem.multi(s$y, s$nei, s$numnei, s$blocks, beta=28,
mu=s$mu, sigma=s$sigma, err=1e-7, maxit=50, verbose=TRUE, dampFactor=s$damp,
tolerance=1e-5)
smfishHmrf.hmrfem.multi.save(name="test", outdir=tempdir(), beta=28, tc.hmrfem=tc.hmrfem, k=9)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.