Skip to contents

Returns the appropriate Basilisk environment for MHCnuggets based on the current operating system. This environment is used internally by predictMHCnuggets for Python integration.

Usage

deepmatchrEnv(platform = c("auto", "linux", "macos"))

Arguments

platform

Character. One of "auto" (default), "linux", or "macos". When "auto", the platform is detected automatically.

Value

A BasiliskEnvironment object configured for the current platform.

Examples

# Get the environment for the current platform
env <- deepmatchrEnv()
print(class(env))
#> [1] "BasiliskEnvironment"
#> attr(,"package")
#> [1] "basilisk"

# Explicitly request Linux environment
env_linux <- deepmatchrEnv(platform = "linux")