Skip to content

Commit

Permalink
Updated the vignettes.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Jul 29, 2024
1 parent 86f7dbc commit 18d7a16
Show file tree
Hide file tree
Showing 7 changed files with 256 additions and 399 deletions.
12 changes: 10 additions & 2 deletions R/buildIndex.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,16 @@
#'
#' @return
#' A prebuilt index that can be used in \code{\link{findKNN}} and related functions as the \code{X=} argument.
#' The type and structure of this index is arbitrary and left to the discretion of the method developer;
#' however, users should assume that the index is not serializable (i.e., cannot be saved or transferred between processes).
#' The exact type of the index is not defined, but users should assume that the index is not serializable, i.e., cannot be saved or transferred between processes.
#'
#' @details
#' The type and structure of the index object returned by \code{buildIndex} methods is arbitrary and left to the discretion of the developer.
#' However, there are a few constraints:
#' \itemize{
#' \item It should not be a matrix, as this interferes with dispatch for methods like \code{\link{findKNN}} when \code{X} is just the data matrix.
#' \item If it is an external pointer, it should refer to a BiocNeighborsPrebuilt object (see \code{system.file("include", "BiocNeighbors.h", package="BiocNeighbors")}.
#' This allows it to be directly used in methods like \code{\link{findKNN}}.
#' }
#'
#' @author
#' Aaron Lun
Expand Down
12 changes: 10 additions & 2 deletions man/buildIndex.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

111 changes: 0 additions & 111 deletions vignettes/approx.Rmd

This file was deleted.

157 changes: 0 additions & 157 deletions vignettes/exact.Rmd

This file was deleted.

Loading

0 comments on commit 18d7a16

Please sign in to comment.