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
.
Examples
# Automatically create DOtools environment at ~/.venv/DOtools if it doesn't exist
DO.PyEnv()
#> 2025-07-26 09:21:16 - Using existing conda environment at: /home/mariano/.venv/DOtools
#> 2025-07-26 09:21:16 - Python packages ready for DOtools!
# Use an existing conda environment at a custom location
DO.PyEnv(conda_path = "~/miniconda3/envs/my_dotools_env")
#> 2025-07-26 09:21:16 - Creating conda environment for DOtools
#> 2025-07-26 09:22:39 - Python packages ready for DOtools!