Skip to contents

Sets up or connects to a conda Python environment for use with DOtools. If no environment path is provided, it will create one at ~/.venv/DOtools and install required Python packages: scvi-tools, celltypist, and scanpro.

Usage

DO.PyEnv(conda_path = NULL)

Arguments

conda_path

character string specifying the path to an existing or new conda environment.

Examples

if (FALSE) { # \dontrun{
# Automatically create DOtools environment at ~/.venv/DOtools if it doesn't exist
DO.PyEnv()

# Use an existing conda environment at a custom location
DO.PyEnv(conda_path = "~/miniconda3/envs/my_dotools_env")
} # }