Installs a conda environment contains ONTraC. This includes a miniconda installation and also a set of python packages that Giotto may often use. See details for further information
installGiottoONTraCEnvironment(
python_version = "3.11.9",
ontrac_version = "latest",
mini_install_path = NULL,
confirm = TRUE,
envname = "giotto_ontrac_env",
conda = "auto",
force_miniconda = FALSE,
force_environment = FALSE,
verbose = NULL
)
python version to use within the giotto conda environment. Default is v3.11.9
ONTraC version to install. Default is "latest"
(optional) desired miniconda installation location. Default is chosen by `reticulate::install_miniconda()`
whether to pause for confirmation of conda environment install location (default = TRUE)
name to assign environment. Default = "giotto_ontrac_env"
either "auto" (default) to allow reticulate to handle it, or the full filepath to the conda executable. You can also set the option "reticulate.conda_binary" or `Sys.setenv()` "RETICULATE_CONDA" to tell reticulate where to look.
force reinstallation of miniconda
force reinstallation of the giotto environment
be verbose
python modules (packages) to install for Giotto.
installs a giotto environment using the reticulate miniconda system
This function will install a local conda environment using the miniconda system as implemented by reticulate. Which contains ONTraC and a set of python packages that Giotto may often use.
installGiottoONTraCEnvironment()
#>
#> |---- install giotto environment ----|
#> + /usr/share/miniconda/bin/conda create --yes --name giotto_ontrac_env 'python=3.11.9' --quiet -c conda-forge
#> + /usr/share/miniconda/bin/conda install --yes --name giotto_ontrac_env 'python=3.11.9' -c conda-forge -c vtraag
#> + /usr/share/miniconda/bin/conda install --yes --name giotto_ontrac_env -c conda-forge -c vtraag 'python=3.11.9' 'pandas==2.2.1' 'networkx==2.8.8' 'python-igraph==0.10.2' 'leidenalg==0.9.0' 'scikit-learn==1.1.3'
#> + /usr/share/miniconda/bin/conda install --yes --name giotto_ontrac_env 'python=3.11.9' -c conda-forge