View source: R/reticulate_setup.R
sctkPythonInstallVirtualEnv | R Documentation |
Install all Python packages used in the singleCellTK
package
using virtualenv_install
from package reticulate
. This
will create a new virtual environment with the name envname
if not already present.
sctkPythonInstallVirtualEnv(
envname = "sctk-reticulate",
packages = c("scipy", "numpy", "astroid", "six", "scrublet", "scanpy", "louvain",
"leidenalg", "scanorama", "bbknn", "anndata"),
selectEnvironment = TRUE,
python = NULL
)
envname |
Character. Name of the virtual environment to create. |
packages |
Character Vector. List of packages to install. |
selectEnvironment |
Boolean. Run |
python |
The path to a Python interpreter, to be used with the created virtual environment. When NULL, the Python interpreter associated with the current session will be used. Default NULL. |
None. Installation of virtual environment.
See virtualenv_create
for more information on creating a Conda environment.
See virtualenv_install
for more description of the installation parameters.
See https://rstudio.github.io/reticulate/ for more information on package reticulate
.
See selectSCTKVirtualEnvironment
for reloading the virtual environment if R is restarted without
going through the whole installation process again.
## Not run:
sctkPythonInstallVirtualEnv(envname = "sctk-reticulate")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.