Bulk import .mat annotation files into the SQLite database
Source:R/database.R
import_all_mat_to_db.RdScans a folder for .mat annotation files (excluding classifier output
files matching *_class*.mat) and imports each into the database. Each
file's embedded class2use_manual is used for class-name mapping.
Examples
if (FALSE) { # \dontrun{
db_path <- get_db_path("/data/manual")
result <- import_all_mat_to_db("/data/manual", db_path)
cat(result$success, "imported,", result$failed, "failed,", result$skipped, "skipped\n")
} # }