Package: spatialHMRF 0.1.1

Ruben Dries

spatialHMRF: Spatial Domains with a Hidden Markov Random Field

Finds spatial domains by fitting the hidden Markov random field (HMRF) model of Zhu et al. (2018) <doi:10.1038/nbt.4260>: each cell's z-scored expression of spatial genes follows a multivariate Gaussian per domain, and a Potts prior favours domains shared with spatial neighbours. The model is fitted by expectation-maximization with iterated conditional modes over the colour classes of the spatial network, from a k-means start, as in the 'smfishHmrf' package. Colour classes are independent sets, so each update is a sparse matrix product; results equal 'smfishHmrf' on the same inputs.

Authors:Qian Zhu [aut], Guo-Cheng Yuan [aut], Ruben Dries [aut, cre]

spatialHMRF_0.1.1.tar.gz
spatialHMRF_0.1.1.zip(r-4.7-any)spatialHMRF_0.1.1.zip(r-4.6-any)spatialHMRF_0.1.1.zip(r-4.5-any)
spatialHMRF_0.1.1.tgz(r-4.6-any)spatialHMRF_0.1.1.tgz(r-4.5-any)
spatialHMRF_0.1.1.tar.gz(r-4.7-any)spatialHMRF_0.1.1.tar.gz(r-4.6-any)
spatialHMRF_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
spatialHMRF/json (API)

# Install 'spatialHMRF' in R:
install.packages('spatialHMRF', repos = c('https://drieslab.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/drieslab/spatialhmrf/issues

On CRAN:

Conda:

1.70 score 2 scripts 4 exports 11 dependencies

Last updated from:01723b3e2c. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK107
source / vignettesOK166
linux-releaseOK106
macos-releaseOK96
macos-oldrelOK75
windows-develOK61
windows-releaseOK59
windows-oldrelOK63
wasm-releaseOK89

Exports:hmrfhmrf_adjacencyhmrf_blockshmrf_init

Dependencies:clicpp11glueigraphlatticelifecyclemagrittrMatrixpkgconfigrlangvctrs