Skip to contents

Exports every sample in the database to a MATLAB-compatible annotation file. Requires Python with scipy.

Usage

export_all_db_to_mat(db_path, output_folder, samples = NULL)

Arguments

db_path

Path to the SQLite database file

output_folder

Folder where .mat files will be written

samples

Optional character vector of sample names to export. When NULL (the default), all annotated samples in the database are exported.

Value

Named list with counts: success, failed

Examples

if (FALSE) { # \dontrun{
db_path <- get_db_path("/data/manual")
result <- export_all_db_to_mat(db_path, "/data/manual")
cat(result$success, "exported,", result$failed, "failed\n")
} # }