anndata R package has a major bug currently.
Thus, add_filename
must be kept False
until this is fixed.
example_anndata( return_path = F, save_dir = tempdir(), backed = c("r", "r+"), overwrite = T, add_filename = F, verbose = T )
if (FALSE) { #### Setup conda env #### ## Option 1: Point to where anndata is installed (or should be installed) conda_dir <- dirname(dirname(reticulate::conda_list()[1,]$python)) reticulate::use_condaenv(condaenv = conda_dir) reticulate::conda_install(conda = conda_dir, packages = "loompy", pip = T) ## Option 2: Just run anndata::install_anndata() and will install via miniconda anndata::install_anndata(method = "conda", conda=conda_dir) #### Usage #### adata <- example_anndata() }