{
  "_id": "6a1046e6acfb0bcc41c9ecc1",
  "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-05-10 10:15:20 UTC",
    "User": "root"
  },
  "Author": "Aaron Lun [aut, cre, cph]",
  "Maintainer": "Aaron Lun <infinite.monkeys.with.keyboards@gmail.com>",
  "MD5sum": "b21c47c926f5b12efe8662d72b6625c1",
  "_user": "bioc",
  "_type": "src",
  "_file": "BiocNeighbors_2.7.2.tar.gz",
  "_fileid": "ca87c352ebc196ea79afdc7644a84051e92bbd0dacc2b01c0803a2c290d550bc",
  "_filesize": 263055,
  "_sha256": "ca87c352ebc196ea79afdc7644a84051e92bbd0dacc2b01c0803a2c290d550bc",
  "_created": "2026-05-10T10:15:20.000Z",
  "_published": "2026-05-22T12:07:02.792Z",
  "_jobs": [
    {
      "job": 77376011786,
      "time": 183,
      "config": "bioc-checks",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6902946240"
    },
    {
      "job": 77376012141,
      "time": 198,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902947650"
    },
    {
      "job": 77376011932,
      "time": 235,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902950687"
    },
    {
      "job": 77376012226,
      "time": 217,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902949178"
    },
    {
      "job": 77376012016,
      "time": 238,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902951377"
    },
    {
      "job": 77376012315,
      "time": 183,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6902946263"
    },
    {
      "job": 77376012327,
      "time": 231,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6902950442"
    },
    {
      "job": 77376011962,
      "time": 126,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902940992"
    },
    {
      "job": 77376011811,
      "time": 396,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902965371"
    },
    {
      "job": 77376011425,
      "time": 262,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902929237"
    },
    {
      "job": 77376011395,
      "time": 154,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7160075499"
    },
    {
      "job": 77376011846,
      "time": 218,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902949473"
    },
    {
      "job": 77376012104,
      "time": 173,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6902945402"
    },
    {
      "job": 77376012023,
      "time": 185,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902946450"
    }
  ],
  "_bioccheck": {
    "error": 0,
    "warning": 2,
    "note": 7
  },
  "_buildurl": "https://github.com/r-universe/bioc/actions/runs/25626036934",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 8166669
  },
  "_distro": "noble",
  "_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": 111,
  "_updates": [
    {
      "week": "2025-21",
      "n": 2
    },
    {
      "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.1",
      "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",
    "description": "Software for the analysis and comprehension of high-throughput genomic data"
  },
  "_downloads": {
    "count": 19552,
    "source": "https://www.bioconductor.org/packages/stats/bioc/BiocNeighbors"
  },
  "_devurl": "https://github.com/knncolle/biocneighbors",
  "_searchresults": 844,
  "_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"
  ],
  "_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": "14.2.0-4ubuntu2~24.04.1",
      "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": 11.898340360789685,
  "_indexed": true,
  "_nocasepkg": "biocneighbors",
  "_universes": [
    "bioc",
    "ltla",
    "knncolle"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.7.2",
      "date": "2026-05-10T10:18:28.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "4c504b1d04a1c7fbe52c8051781f19d67773a4a43217826a49c59eb72b752d3d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/25626036934"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.7.2",
      "date": "2026-05-10T10:19:03.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "7583a51c8c57c52b3089f1359a92c355b9ecf7a24770af30dae0ee0ce7a2d066",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/25626036934"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.7.2",
      "date": "2026-05-10T10:18:47.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "0f01d10cf142e1b7118ce473d2b7fad06d914160a4be43133d08dda82cfb51a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/25626036934"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.7.2",
      "date": "2026-05-10T10:19:11.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "96f4ed4a5c7e231e101e876276b22af2983495cdac3c2a6ce8421fde1fa8e829",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/25626036934"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.7.2",
      "date": "2026-05-10T10:17:59.000Z",
      "arch": "aarch64",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "87cbbfc5a2279b6c4e01505131a7746301f10d6125cb6ad660b94d3bb9d49527",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/25626036934"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.7.2",
      "date": "2026-05-10T10:18:24.000Z",
      "arch": "x86_64",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "b756d783fd1955656b99cf07ef9445f54a15035b10ef8df047c52358b966e417",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/25626036934"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.7.2",
      "date": "2026-05-10T10:17:25.000Z",
      "arch": "aarch64",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "b2e7b1da17f2effa182117581488b63996c55c7d485bb9c690df2119e8210556",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/25626036934"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.7.2",
      "date": "2026-05-10T10:20:15.000Z",
      "arch": "x86_64",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "0119a7d15587e91ec2bbfd8be3e0272bceb20498d130341978a4bed70b677585",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/25626036934"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.7.2",
      "date": "2026-05-10T10:17:36.000Z",
      "arch": "x86_64",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "ebb694c2fb00085cfea0a34347bc869cd2e6babb28b9759e79b8ec8646af3840",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/25626036934"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.7.2",
      "date": "2026-05-10T10:17:17.000Z",
      "arch": "x86_64",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "2de2db17a02795c5ba9b4e21243fbe935e1849ad90ee15d1b83825eda2ff149b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/25626036934"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.7.2",
      "date": "2026-05-10T10:17:19.000Z",
      "arch": "x86_64",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "3305304059570c3bab22fb9875b8a783050bc220968f5477b68f7dc508ae4475",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/25626036934"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.7.2",
      "date": "2026-05-22T12:06:18.000Z",
      "arch": "emscripten",
      "commit": "b17cc73d44371c936a57cb1ce4890e33e16ce2ea",
      "fileid": "9d580b45775678d14d1bae323e80cc58d89aa974bb3d7bc79264829c46d52c6d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/25626036934"
    }
  ]
}