# Activate conda environment to get the correct python path
::use_condaenv("seurat", conda = "/opt/conda/bin/conda")
reticulate::py_discover_config() reticulate
python: /opt/conda/envs/seurat/bin/python
libpython: /opt/conda/envs/seurat/lib/libpython3.8.so
pythonhome: /opt/conda/envs/seurat:/opt/conda/envs/seurat
version: 3.8.18 | packaged by conda-forge | (default, Dec 23 2023, 17:21:28) [GCC 12.3.0]
numpy: /opt/conda/envs/seurat/lib/python3.8/site-packages/numpy
numpy_version: 1.24.4
NOTE: Python version was forced by use_python function
suppressPackageStartupMessages({
library(Seurat)
library(ggplot2) # plotting
library(patchwork) # combining figures
library(scran)
})