{
  "_id": "6a4973f2f408bf5a1e5fde91",
  "Package": "BiocNeighbors",
  "Version": "2.7.2",
  "Date": "2026-05-10",
  "Title": "Nearest Neighbor Detection for Bioconductor Packages",
  "Authors@R": "c(person(\"Aaron\", \"Lun\", role=c(\"aut\", \"cre\", \"cph\"), email=\"infinite.monkeys.with.keyboards@gmail.com\"))",
  "biocViews": "Clustering, Classification",
  "Description": "Implements exact and approximate methods for nearest\nneighbor detection, in a framework that allows them to be\neasily switched within Bioconductor packages or workflows.\nExact searches can be performed using the k-means for k-nearest\nneighbors algorithm, vantage point trees, or an exhaustive\nsearch. Approximate searches can be performed using the Annoy\nor HNSW libraries. Each search can be performed with a variety\nof different distance metrics, parallelization, and variable\nnumbers of neighbors. Range-based searches (to find all\nneighbors within a certain distance) are also supported.",
  "License": "GPL-3",
  "URL": "https://github.com/knncolle/BiocNeighbors",
  "BugReports": "https://github.com/knncolle/BiocNeighbors/issues",
  "VignetteBuilder": "knitr",
  "SystemRequirements": "C++17",
  "Encoding": "UTF-8",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "zlib1g-dev",
  "Repository": "https://bioc.r-universe.dev",
  "Date/Publication": "2026-05-10 06:28:38 UTC",
  "RemoteUrl": "https://github.com/bioc/BiocNeighbors",
  "RemoteRef": "HEAD",
  "RemoteSha": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-23 15:05:08 UTC",
    "User": "root"
  },
  "Author": "Aaron Lun [aut, cre, cph]",
  "Maintainer": "Aaron Lun <infinite.monkeys.with.keyboards@gmail.com>",
  "_user": "bioc",
  "_type": "src",
  "_file": "BiocNeighbors_2.7.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/76d4fc1eba7c833ac13da3537110dd985ef94bcdab57939b8ea60bc8be3e9eb7",
  "_filesize": 263229,
  "_sha256": "76d4fc1eba7c833ac13da3537110dd985ef94bcdab57939b8ea60bc8be3e9eb7",
  "_expires": "2026-10-12T20:58:24.000Z",
  "_created": "2026-06-23T15:05:08.000Z",
  "_published": "2026-07-04T20:58:26.320Z",
  "_bioccheck": {
    "error": 0,
    "warning": 2,
    "note": 6
  },
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/bioc/actions/runs/28035234317",
  "_status": "success",
  "_upstream": "https://github.com/bioc/BiocNeighbors",
  "_commit": {
    "id": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
    "author": "LTLA <infinite.monkeys.with.keyboards@gmail.com>",
    "committer": "LTLA <infinite.monkeys.with.keyboards@gmail.com>",
    "message": "Bumped version and date, added URLs.\n",
    "time": 1778394518
  },
  "_maintainer": {
    "name": "Aaron Lun",
    "email": "infinite.monkeys.with.keyboards@gmail.com",
    "login": "ltla",
    "twitter": "@realAaronLun",
    "description": "(ノಠ益ಠ)ノ彡┻━┻\n",
    "uuid": 8166669
  },
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 85166455502,
      "time": 333,
      "config": "bioc-checks",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7824989265"
    },
    {
      "job": 85166455336,
      "time": 284,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7824968959"
    },
    {
      "job": 85166455516,
      "time": 295,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7824973090"
    },
    {
      "job": 85166455523,
      "time": 256,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7824957448"
    },
    {
      "job": 85166455505,
      "time": 288,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7824969461"
    },
    {
      "job": 85166455404,
      "time": 158,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7824944969"
    },
    {
      "job": 85166455446,
      "time": 289,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7824996544"
    },
    {
      "job": 85166455451,
      "time": 119,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7824921700"
    },
    {
      "job": 85166455443,
      "time": 471,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7825070919"
    },
    {
      "job": 85166455173,
      "time": 415,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7824846385"
    },
    {
      "job": 85166455391,
      "time": 267,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7824960687"
    },
    {
      "job": 85166455366,
      "time": 180,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7824923851"
    },
    {
      "job": 85166455345,
      "time": 210,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7824936611"
    },
    {
      "job": 85166455343,
      "time": 186,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7824925936"
    }
  ],
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "assorthead",
      "role": "LinkingTo"
    },
    {
      "package": "beachmat",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Suggests"
    },
    {
      "package": "DelayedArray",
      "role": "Suggests"
    },
    {
      "package": "beachmat",
      "role": "Suggests"
    },
    {
      "package": "BiocParallel",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "BiocStyle",
      "role": "Suggests"
    },
    {
      "package": "S4Vectors",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "bioc",
  "_selfowned": true,
  "_usedby": 112,
  "_updates": [
    {
      "week": "2025-44",
      "n": 2
    },
    {
      "week": "2025-50",
      "n": 3
    },
    {
      "week": "2026-04",
      "n": 5
    },
    {
      "week": "2026-05",
      "n": 3
    },
    {
      "week": "2026-07",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 2
    },
    {
      "week": "2026-19",
      "n": 5
    }
  ],
  "_tags": [],
  "_bioc": [
    {
      "branch": "devel",
      "version": "2.7.2",
      "bioc": "3.24"
    },
    {
      "branch": "release",
      "version": "2.6.0",
      "bioc": "3.23"
    }
  ],
  "_topics": [
    "clustering",
    "classification",
    "bioconductor-package",
    "human-cell-atlas",
    "nearest-neighbor-search",
    "cpp"
  ],
  "_stars": 6,
  "_contributors": [
    {
      "user": "ltla",
      "count": 165,
      "uuid": 8166669
    },
    {
      "user": "jwokaty",
      "count": 16,
      "uuid": 1744257
    },
    {
      "user": "nturaga",
      "count": 14,
      "uuid": 2746443
    },
    {
      "user": "vobencha",
      "count": 2,
      "uuid": 2466173
    },
    {
      "user": "allisonvuong",
      "count": 1,
      "uuid": 47435771
    },
    {
      "user": "doliv071",
      "count": 1,
      "uuid": 2363607
    },
    {
      "user": "eddelbuettel",
      "count": 1,
      "uuid": 673121
    }
  ],
  "_userbio": {
    "uuid": 2286807,
    "type": "organization",
    "name": "Bioconductor",
    "followers": 441,
    "description": "Software for the analysis and comprehension of high-throughput genomic data"
  },
  "_devurl": "https://github.com/knncolle/biocneighbors",
  "_searchresults": 826,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/BiocNeighbors.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/knncolle/biocneighbors",
  "_realowner": "bioc",
  "_cranurl": false,
  "_exports": [
    "AnnoyIndex",
    "AnnoyParam",
    "bndistance",
    "buildIndex",
    "defineBuilder",
    "ExhaustiveIndex",
    "ExhaustiveParam",
    "findDistance",
    "findDistanceFromIndex",
    "findKNN",
    "findKnnFromIndex",
    "findMutualNN",
    "findNeighbors",
    "findNeighborsFromIndex",
    "findResultsToHits",
    "findResultsToMatrix",
    "getLoadGenericIndexRegistry",
    "HnswIndex",
    "HnswParam",
    "KmknnIndex",
    "KmknnParam",
    "loadIndex",
    "queryDistance",
    "queryDistanceFromIndex",
    "queryKNN",
    "queryKnnFromIndex",
    "queryNeighbors",
    "queryNeighborsFromIndex",
    "queryResultsToHits",
    "queryResultsToMatrix",
    "registerLoadGenericIndexClass",
    "registerLoadIndexFunction",
    "saveIndex",
    "show",
    "VptreeIndex",
    "VptreeParam"
  ],
  "_help": [
    {
      "page": "BiocNeighbors-package",
      "title": "BiocNeighbors: Nearest Neighbor Detection for Bioconductor Packages",
      "topics": [
        "BiocNeighbors-package",
        "BiocNeighbors"
      ]
    },
    {
      "page": "AnnoyParam",
      "title": "The AnnoyParam class",
      "topics": [
        "AnnoyIndex",
        "AnnoyIndex-class",
        "AnnoyParam",
        "AnnoyParam-class",
        "defineBuilder,AnnoyParam-method",
        "show,AnnoyParam-method"
      ]
    },
    {
      "page": "BiocNeighborIndex",
      "title": "The BiocNeighborIndex class",
      "topics": [
        "BiocNeighborGenericIndex-class",
        "BiocNeighborIndex",
        "BiocNeighborIndex-class",
        "show,BiocNeighborIndex-method"
      ]
    },
    {
      "page": "BiocNeighborParam",
      "title": "The BiocNeighborParam class",
      "topics": [
        "BiocNeighborParam",
        "BiocNeighborParam-class",
        "bndistance",
        "show,BiocNeighborParam-method",
        "[[,BiocNeighborParam-method",
        "[[<-,BiocNeighborParam-method"
      ]
    },
    {
      "page": "buildIndex",
      "title": "Build a nearest-neighbor index",
      "topics": [
        "buildIndex",
        "buildIndex,BiocNeighborParam-method",
        "buildIndex,list-method",
        "buildIndex,missing-method",
        "buildIndex,NULL-method"
      ]
    },
    {
      "page": "defineBuilder",
      "title": "Define an index builder",
      "topics": [
        "defineBuilder",
        "defineBuilder,missing-method",
        "defineBuilder,NULL-method"
      ]
    },
    {
      "page": "ExhaustiveParam",
      "title": "The ExhaustiveParam class",
      "topics": [
        "defineBuilder,ExhaustiveParam-method",
        "ExhaustiveIndex",
        "ExhaustiveIndex-class",
        "ExhaustiveParam",
        "ExhaustiveParam-class"
      ]
    },
    {
      "page": "findDistance",
      "title": "Distance to the k-th nearest neighbor",
      "topics": [
        "findDistance",
        "findDistanceFromIndex",
        "findDistanceFromIndex,BiocNeighborGenericIndex-method"
      ]
    },
    {
      "page": "findKNN",
      "title": "Find k-nearest neighbors",
      "topics": [
        "findKNN",
        "findKnnFromIndex",
        "findKnnFromIndex,BiocNeighborGenericIndex-method"
      ]
    },
    {
      "page": "findMutualNN",
      "title": "Find mutual nearest neighbors",
      "topics": [
        "findMutualNN"
      ]
    },
    {
      "page": "findNeighbors",
      "title": "Find neighbors within a threshold distance",
      "topics": [
        "findNeighbors",
        "findNeighborsFromIndex",
        "findNeighborsFromIndex,BiocNeighborGenericIndex-method"
      ]
    },
    {
      "page": "convert",
      "title": "Convert neighbor search results to alternative representations",
      "topics": [
        "findResultsToHits",
        "findResultsToMatrix",
        "queryResultsToHits",
        "queryResultsToMatrix"
      ]
    },
    {
      "page": "getLoadGenericIndexRegistry",
      "title": "Load indices from extension packages",
      "topics": [
        "getLoadGenericIndexRegistry",
        "registerLoadGenericIndexClass",
        "registerLoadIndexFunction"
      ]
    },
    {
      "page": "HnswParam",
      "title": "The HnswParam class",
      "topics": [
        "defineBuilder,HnswParam-method",
        "HnswIndex",
        "HnswIndex-class",
        "HnswParam",
        "HnswParam-class",
        "show,HnswParam-method"
      ]
    },
    {
      "page": "KmknnParam",
      "title": "The KmknnParam class",
      "topics": [
        "defineBuilder,KmknnParam-method",
        "KmknnIndex",
        "KmknnIndex-class",
        "KmknnParam",
        "KmknnParam-class"
      ]
    },
    {
      "page": "loadIndex",
      "title": "Load a prebuilt search index from disk",
      "topics": [
        "loadIndex"
      ]
    },
    {
      "page": "queryDistance",
      "title": "Distance to the k-th nearest neighbor to query points",
      "topics": [
        "queryDistance",
        "queryDistanceFromIndex",
        "queryDistanceFromIndex,BiocNeighborGenericIndex-method"
      ]
    },
    {
      "page": "queryKNN",
      "title": "Query k-nearest neighbors",
      "topics": [
        "queryKNN",
        "queryKnnFromIndex",
        "queryKnnFromIndex,BiocNeighborGenericIndex-method"
      ]
    },
    {
      "page": "queryNeighbors",
      "title": "Query neighbors within a threshold distance",
      "topics": [
        "queryNeighbors",
        "queryNeighborsFromIndex",
        "queryNeighborsFromIndex,BiocNeighborGenericIndex-method"
      ]
    },
    {
      "page": "saveIndex",
      "title": "Save a nearest-neighbor index",
      "topics": [
        "saveIndex",
        "saveIndex,BiocNeighborGenericIndex-method"
      ]
    },
    {
      "page": "VptreeParam",
      "title": "The VptreeParam class",
      "topics": [
        "defineBuilder,VptreeParam-method",
        "VptreeIndex",
        "VptreeIndex-class",
        "VptreeParam",
        "VptreeParam-class"
      ]
    }
  ],
  "_readme": "https://github.com/bioc/BiocNeighbors/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "assorthead",
    "beachmat",
    "BiocGenerics",
    "DelayedArray",
    "generics",
    "IRanges",
    "lattice",
    "Matrix",
    "MatrixGenerics",
    "matrixStats",
    "Rcpp",
    "S4Arrays",
    "S4Vectors",
    "SparseArray",
    "XVector"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "userguide.Rmd",
      "filename": "userguide.html",
      "title": "Finding neighbors in high-dimensional space",
      "author": "Aaron Lun",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Finding nearest neighbors",
        "Finding all neighbors within range",
        "Saving indices to disk",
        "Usage in downstream C++ libraries",
        "Extending to new methods",
        "Introduction",
        "In R",
        "In C++",
        "Session information"
      ],
      "created": "2024-09-05 18:04:58",
      "modified": "2026-01-31 02:11:08",
      "commits": 5
    }
  ],
  "_score": 10.543689869827789,
  "_indexed": true,
  "_nocasepkg": "biocneighbors",
  "_universes": [
    "bioc",
    "ltla",
    "knncolle"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.7.2",
      "date": "2026-06-23T15:09:52.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "https://r2.ropensci.org/2f09fcdef5438e7efe6627bb2443c8918e709fcb346ae9954f548a3451db593a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28035234317"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.7.2",
      "date": "2026-06-23T15:09:51.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "https://r2.ropensci.org/abed70680ffcbf75f40a764ed0d79558c520b11ee4656d4c22b59efe6bbee326",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28035234317"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.7.2",
      "date": "2026-06-23T15:09:28.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "https://r2.ropensci.org/4fbdd5e62cca3d66f827d0a5637a5584946d18fff4481494866797bd6a7a39f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28035234317"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.7.2",
      "date": "2026-06-23T15:09:43.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "https://r2.ropensci.org/2a8771408fb3d6369900e278f0217c6d7196f4e85b8f7157a0ce24b4a7e881e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28035234317"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.7.2",
      "date": "2026-06-23T15:08:50.000Z",
      "arch": "aarch64",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "https://r2.ropensci.org/ebdd7837ac659dba12a0d6518f59759cd376ee8057a2a62bb42f4c8991ef426a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28035234317"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.7.2",
      "date": "2026-06-23T15:10:05.000Z",
      "arch": "x86_64",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "https://r2.ropensci.org/6922073c9b9e8d23b9fe0f7cde6318824d8ce2de1f8b18cfa408ce62f2e95d16",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28035234317"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.7.2",
      "date": "2026-06-23T15:08:13.000Z",
      "arch": "aarch64",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "https://r2.ropensci.org/ba00844104b18762f6c0a80eadd42359ebf923866f5d15adc83f4eaff14fd0c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28035234317"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.7.2",
      "date": "2026-06-23T15:10:50.000Z",
      "arch": "x86_64",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "https://r2.ropensci.org/126a0cdaf16c2a1ecf83090ab08594a8b846b53cbc2243d939b63b5f1f401847",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28035234317"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.7.2",
      "date": "2026-06-23T15:09:57.000Z",
      "arch": "emscripten",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "https://r2.ropensci.org/e69a9856896937b3502f4ec157351c9004aea07bb15c3296fd1c92c7065365ff",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28035234317"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.7.2",
      "date": "2026-06-23T15:07:24.000Z",
      "arch": "x86_64",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "https://r2.ropensci.org/2d69a331ce06e5b3a1526e66c70a7c7a6113def714e2a65721d32ecffb59f20a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28035234317"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.7.2",
      "date": "2026-06-23T15:07:50.000Z",
      "arch": "x86_64",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "https://r2.ropensci.org/4addb5a1b2069a421b97f4f9607bc6e6d38e1e43fda78771929d16b1ff92a821",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28035234317"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.7.2",
      "date": "2026-06-23T15:07:10.000Z",
      "arch": "x86_64",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "https://r2.ropensci.org/a5d249a751dc8e279aff17aac162d834b2e147253d5b4b718cc4be53f759a79e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28035234317"
    }
  ]
}