get functions for creating datasets

Description

get functions for creating datasets

Usage

dataset_get_functions(preprocess_functions)

Arguments

preprocess_functions list with get_files, dataset, extra_args entries

Examples

library("prolfquapp")


# Get dataset functions for DIANN
preprocess_functions <- prolfquapp::prolfqua_preprocess_functions[["DIANN"]]
dataset_funcs <- dataset_get_functions(preprocess_functions)

# Use the functions
files <- dataset_funcs$files_fn("path/to/data")
dataset <- dataset_funcs$dataset_fn(files, "output_file.csv")