{
  "_id": "6b0b97f375ab5e50c76858cd",
  "Package": "spatialHMRF",
  "Title": "Spatial Domains with a Hidden Markov Random Field",
  "Version": "0.1.1",
  "Authors@R": "c(\nperson(\"Qian\", \"Zhu\", role = \"aut\",\ncomment = \"original HMRF method and smfishHmrf implementation\"),\nperson(\"Guo-Cheng\", \"Yuan\", email = \"guo-cheng.yuan@mssm.edu\",\nrole = \"aut\"),\nperson(\"Ruben\", \"Dries\", email = \"rubendries@gmail.com\",\nrole = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0001-7650-7754\"))\n)",
  "Description": "Finds spatial domains by fitting the hidden Markov random\nfield (HMRF) model of Zhu et al. (2018) <doi:10.1038/nbt.4260>:\neach cell's z-scored expression of spatial genes follows a\nmultivariate Gaussian per domain, and a Potts prior favours\ndomains shared with spatial neighbours. The model is fitted by\nexpectation-maximization with iterated conditional modes over\nthe colour classes of the spatial network, from a k-means\nstart, as in the 'smfishHmrf' package. Colour classes are\nindependent sets, so each update is a sparse matrix product;\nresults equal 'smfishHmrf' on the same inputs.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "URL": "https://github.com/drieslab/spatialHMRF",
  "BugReports": "https://github.com/drieslab/spatialHMRF/issues",
  "Config/testthat/edition": "3",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libglpk-dev libxml2-dev",
  "Repository": "https://drieslab.r-universe.dev",
  "Date/Publication": "2026-11-24 21:51:40 UTC",
  "RemoteUrl": "https://github.com/drieslab/spatialHMRF",
  "RemoteRef": "HEAD",
  "RemoteSha": "01723b3e2c6c40ca4a8708c539658f1ce01acedb",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-29 03:09:30 UTC",
    "User": "root"
  },
  "Author": "Qian Zhu [aut] (original HMRF method and smfishHmrf implementation),\nGuo-Cheng Yuan [aut],\nRuben Dries [aut, cre] (ORCID: <https://orcid.org/0000-0001-7650-7754>)",
  "Maintainer": "Ruben Dries <rubendries@gmail.com>",
  "_user": "drieslab",
  "_type": "src",
  "_file": "spatialHMRF_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/1783197af1a29b690df6544cd980f1de20b2b82b54847f0c7b1e2ad6cf0293e6",
  "_filesize": 98129,
  "_sha256": "1783197af1a29b690df6544cd980f1de20b2b82b54847f0c7b1e2ad6cf0293e6",
  "_expires": "2027-03-09T03:11:45.000Z",
  "_created": "2026-11-29T03:09:30.000Z",
  "_published": "2026-11-29T03:11:47.570Z",
  "_upstream": "https://github.com/drieslab/spatialHMRF",
  "_status": "success",
  "_maintainer": {
    "name": "Ruben Dries",
    "email": "rubendries@gmail.com",
    "login": "rubd",
    "bluesky": "@rndries.bsky.social",
    "twitter": "@RnDries",
    "description": "",
    "uuid": 8243389,
    "orcid": "0000-0001-7650-7754"
  },
  "_jobs": [
    {
      "job": 141209602921,
      "time": 107,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15292373944"
    },
    {
      "job": 141209602859,
      "time": 106,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15292874170"
    },
    {
      "job": 141209602906,
      "time": 75,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15292318969"
    },
    {
      "job": 141209602876,
      "time": 96,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15293355827"
    },
    {
      "job": 141208960828,
      "time": 166,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15293172308"
    },
    {
      "job": 141209602875,
      "time": 89,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "15293118161"
    },
    {
      "job": 141209602898,
      "time": 61,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15292774390"
    },
    {
      "job": 141209602892,
      "time": 63,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15292864208"
    },
    {
      "job": 141209602909,
      "time": 59,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15292948963"
    }
  ],
  "_buildurl": "https://github.com/r-universe/drieslab/actions/runs/46218851998",
  "_commit": {
    "id": "01723b3e2c6c40ca4a8708c539658f1ce01acedb",
    "author": "Ruben Dries <rdries@bu.edu>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #1 from drieslab/fix/degenerate-covariance\n\nfix: survive degenerate domains; zscore = \"feature\"",
    "time": 1795557100
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "igraph",
      "version": ">= 1.5.0",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "drieslab",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-48",
      "n": 7
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "rubd",
      "count": 8,
      "uuid": 8243389
    }
  ],
  "_userbio": {
    "uuid": 63752180,
    "type": "organization",
    "name": "Dries lab",
    "followers": 49,
    "description": "The Lab of Systems and Spatial Oncology"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spatialHMRF"
  },
  "_devurl": "https://github.com/drieslab/spatialhmrf",
  "_searchresults": 2,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/spatialHMRF.html",
    "LICENSE"
  ],
  "_cranurl": false,
  "_authors": [
    {
      "name": "Qian Zhu",
      "role": [
        "aut"
      ]
    },
    {
      "name": "Guo-Cheng Yuan",
      "email": "guo-cheng.yuan@mssm.edu",
      "role": [
        "aut"
      ]
    },
    {
      "name": "Ruben Dries",
      "email": "rubendries@gmail.com",
      "orcid": "0000-0001-7650-7754",
      "role": [
        "aut",
        "cre"
      ]
    }
  ],
  "_exports": [
    "hmrf",
    "hmrf_adjacency",
    "hmrf_blocks",
    "hmrf_init"
  ],
  "_help": [
    {
      "page": "hmrf",
      "title": "Spatial domains with a hidden Markov random field",
      "topics": [
        "hmrf"
      ]
    },
    {
      "page": "hmrf_adjacency",
      "title": "Network helpers",
      "topics": [
        "hmrf_adjacency",
        "hmrf_blocks"
      ]
    },
    {
      "page": "hmrf_init",
      "title": "HMRF start",
      "topics": [
        "hmrf_init"
      ]
    }
  ],
  "_readme": "https://github.com/drieslab/spatialHMRF/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "glue",
    "igraph",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pkgconfig",
    "rlang",
    "vctrs"
  ],
  "_score": 1.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "spatialhmrf",
  "_universes": [
    "drieslab",
    "rubd"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-11-29T03:11:18.000Z",
      "distro": "resolute",
      "commit": "01723b3e2c6c40ca4a8708c539658f1ce01acedb",
      "fileid": "https://r2.ropensci.org/1e3a1bde111369385fd3c67202a63c56a7c4be2f25e3058d475cafc5b022e3e5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/drieslab/actions/runs/46218851998"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-11-29T03:11:20.000Z",
      "distro": "resolute",
      "commit": "01723b3e2c6c40ca4a8708c539658f1ce01acedb",
      "fileid": "https://r2.ropensci.org/8d75bb2dd74b016950b9772055a6978e5d65299f8bb9eefb4aa5d5057a8f29ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/drieslab/actions/runs/46218851998"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-11-29T03:10:52.000Z",
      "commit": "01723b3e2c6c40ca4a8708c539658f1ce01acedb",
      "fileid": "https://r2.ropensci.org/341e665adf51a11d415fc3ed2a5f5f2fcb79bf09ced3083d0d3c019a931e646d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/drieslab/actions/runs/46218851998"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-11-29T03:11:10.000Z",
      "commit": "01723b3e2c6c40ca4a8708c539658f1ce01acedb",
      "fileid": "https://r2.ropensci.org/565e028db63de57eaf216b8ccb5b391009fb5381d0248b2d9430b1047ea287c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/drieslab/actions/runs/46218851998"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-11-29T03:11:12.000Z",
      "commit": "01723b3e2c6c40ca4a8708c539658f1ce01acedb",
      "fileid": "https://r2.ropensci.org/977e99cba32663719fecdbe6c8efe92387fececc629f932c556d50f8163a6491",
      "status": "success",
      "buildurl": "https://github.com/r-universe/drieslab/actions/runs/46218851998"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-11-29T03:10:29.000Z",
      "commit": "01723b3e2c6c40ca4a8708c539658f1ce01acedb",
      "fileid": "https://r2.ropensci.org/32b16e9c0873f90174b2b99bc5115792e234396938dc400f7bcbf29e780bfb45",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/drieslab/actions/runs/46218851998"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-11-29T03:10:30.000Z",
      "commit": "01723b3e2c6c40ca4a8708c539658f1ce01acedb",
      "fileid": "https://r2.ropensci.org/1448f5eaf05838e3db9be706289eb74eff6cc0298ddf07bf9224ba87d2a73395",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/drieslab/actions/runs/46218851998"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-11-29T03:10:30.000Z",
      "commit": "01723b3e2c6c40ca4a8708c539658f1ce01acedb",
      "fileid": "https://r2.ropensci.org/def2f8be8719fab5e6496936504a7b36675b2f6f15be608373b937309e8f36f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/drieslab/actions/runs/46218851998"
    }
  ]
}