R/install_anndata.R

Defines functions install_anndata

Documented in install_anndata

#' Install anndata
#'
#' Needs to be run after installing the anndata R package.
#'
#' @inheritParams reticulate::py_install
#'
#' @export
#'
#' @examples
#' \dontrun{
#' reticulate::conda_install()
#' install_anndata()
#' }
install_anndata <- function(method = "auto", conda = "auto") {
  reticulate::py_install("anndata>=0.7.5", method = method, conda = conda)
}

Try the anndata package in your browser

Any scripts or data that you put into this service are public.

anndata documentation built on March 31, 2023, 10:02 p.m.