Package: spatialHMRF 0.1.1
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:
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
Last updated from:01723b3e2c. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 107 | ||
| source / vignettes | OK | 166 | ||
| linux-release | OK | 106 | ||
| macos-release | OK | 96 | ||
| macos-oldrel | OK | 75 | ||
| windows-devel | OK | 61 | ||
| windows-release | OK | 59 | ||
| windows-oldrel | OK | 63 | ||
| wasm-release | OK | 89 |
Exports:hmrfhmrf_adjacencyhmrf_blockshmrf_init
Dependencies:clicpp11glueigraphlatticelifecyclemagrittrMatrixpkgconfigrlangvctrs
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Spatial domains with a hidden Markov random field | hmrf |
| Network helpers | hmrf_adjacency hmrf_blocks |
| HMRF start | hmrf_init |
