Activate built-in conda environment that provides python, ez-zarr and its
dependencies using useBasiliskEnv, and import the
required modules through reticulate.
Value
A list with imported modules:
- plt
matplotlib.pyplot- np
numpy- ez_zarr
- ome_zarr
ez_zarr.ome_zarr- plotting
ez_zarr.plotting- utils
ez_zarr.utils
Examples
env <- enableEzZarr()
names(env)
#> [1] "plt" "np" "ez_zarr"
env$np$`__version__`
#> [1] "2.3.4"
env$ez_zarr$ome_zarr$`__version__`
#> [1] "0.4.2"