setup_sfaira: setup the sfaira package

View source: R/access_sfaira.R

setup_sfairaR Documentation

setup the sfaira package

Description

If you want to download datasets from Sfaira, you need to specify a directory where the datasets are saved into. Additionally, when this function is called for the first time, a conda environment will be established and sfaira along all of its dependencies are installed. This can take some time but will be only performed one single time, as the environment can be re-used.

Usage

setup_sfaira(basedir)

Arguments

basedir

name of the directory, where the raw files will be downloaded into

Value

list with sfaira file directories; must be used as input for other sfaira based functions

Examples

setup_list <- setup_sfaira(basedir = tempdir())

omnideconv/SimBu documentation built on May 5, 2024, 12:33 p.m.