Skip to contents

This function provides the scop python environment requirements for a specific version.

Usage

env_requirements(version = "3.10-1")

Arguments

version

A character vector specifying the version of the environment. Default is "3.10-1".

Value

A list of requirements for the specified version.

Details

The function returns a list of requirements including the required Python version and a list of packages with their corresponding versions.

Examples

env_requirements("3.10-1")
#> $python
#> [1] "3.10-1"
#> 
#> $packages
#>                leidenalg               matplotlib                    numba 
#>              "leidenalg"  "matplotlib>=3.5,<3.11"    "numba>=0.59,<0.60.0" 
#>                 llvmlite                    numpy                 palantir 
#> "llvmlite>=0.42,<0.43.0"    "numpy>=1.24,<1.27.0"               "palantir" 
#>                   pandas            python-igraph                   scanpy 
#>       "pandas>=2.0,<2.1"          "python-igraph"      "scanpy>=1.9,<1.12" 
#>             scikit-learn                    scipy                   scvelo 
#>           "scikit-learn"            "scipy>=1.10"                 "scvelo" 
#>                      wot                   trimap                   pacmap 
#>                    "wot"                 "trimap"                 "pacmap" 
#>                    phate                    bbknn                scanorama 
#>                  "phate"                  "bbknn"              "scanorama" 
#>               scvi-tools                      tbb 
#>             "scvi-tools"                    "tbb" 
#> 
#> $install_methods
#>     leidenalg    matplotlib         numba      llvmlite         numpy 
#>       "conda"         "pip"         "pip"         "pip"         "pip" 
#>      palantir        pandas python-igraph        scanpy  scikit-learn 
#>         "pip"         "pip"       "conda"         "pip"         "pip" 
#>         scipy        scvelo           wot        trimap        pacmap 
#>         "pip"         "pip"         "pip"         "pip"         "pip" 
#>         phate         bbknn     scanorama    scvi-tools           tbb 
#>         "pip"         "pip"         "pip"         "pip"       "conda" 
#>