Wrapper to update the CondaEnvManager object stored in cache and used as configuration for conda environments for all known methods (typically stored in the package's cache). A single method can be updated at the time. In most cases, this is the best way to modify the package's conda environments registry.
Usage
UpdateEnvCache(
  method = known.methods,
  conda.bin = "auto",
  conda.env = NULL,
  conda.env.is.path = "auto",
  separate.scvi.envs = FALSE,
  overwrite.env = FALSE,
  dry.run = FALSE
)Arguments
- method
- the name of the method to update. One of "combat", "harmony", "mnn", "bbknn", "scvi", "scanvi", "scanorama", "trvae" 
- conda.bin
- the path to the conda binary. If empty ( - ""),- NULLor- "conda",- "auto"is passed to conda_binary() to find the path to the conda binary in- PATH
- conda.env
- Either the name of a conda environment or the path to such an environment. Must be reachable by provided - conda.bin.- NULLenable to use the default environment names. (see Details section)
- conda.env.is.path
- Whether the - conda.envis a path (- TRUE), or a name (- FALSE). The default ("- auto") guesses. Be careful not to make a mistake if you switch to a non-default value
- separate.scvi.envs
- By default, SCVI and SCANVI share the same conda environment, since they rely on the same python package. If you wish to have a distinct environment for each, set it to - TRUE. Ignored if- methodis not SCVI nor SCANVI.
- overwrite.env
- Turn it to - TRUEto enable overwriting an existing environment (same name or same path). When the provided- conda.envalready exists, the default behaviour is to update the package's registry with the existing environment as it is
- dry.run
- When - TRUE, the package's current cache is not updated. But the new conda environment (if any) will be created.- FALSEby default.
Value
a CondaEnvManager object
Details
The conda environments default names are:
- bbknn: - SeuratIntegrate_scvi
- SCVI: - SeuratIntegrate_scvi-tools
- SCANVI: - SeuratIntegrate_scvi-tools
- scanorama: - SeuratIntegrate_scanorama
- trVAE: - SeuratIntegrate_trvae
