- feature_files
A path to a folder containing feature files or a character vector of file paths.
- class_files
(Optional) A character vector of full paths to classification or manual
annotation files (.mat, .h5, or .csv), or a single path to a folder
containing such files.
- custom_images
(Optional) A character vector of image filenames in the format DYYYYMMDDTHHMMSS_IFCBXXX_ZZZZZ(.png),
where "XXX" represents the IFCB number and "ZZZZZ" represents the ROI number.
These filenames should match the roi_number assignment in the feature_files and can be
used as a substitute for classification files.
- custom_classes
(Optional) A character vector of corresponding class labels for custom_images.
- class2use_file
(Optional) A character string specifying the path to the file containing the class2use variable. Only required for manual results (default: NULL).
- micron_factor
Conversion factor from microns per pixel (default: 1/3.4).
- diatom_class
A character vector specifying diatom class names in WoRMS. Default: "Bacillariophyceae".
- diatom_include
Optional character vector of class names that should always be treated as diatoms,
overriding the boolean result of ifcb_is_diatom. Default: NULL.
- marine_only
Logical. If TRUE, restricts the WoRMS search to marine taxa only. Default: FALSE.
- threshold
A character string controlling which classification to use.
"opt" (default) uses the threshold-applied classification, where
predictions below the per-class optimal threshold are labeled
"unclassified". Any other value (e.g. "all") uses the raw winning
class without any threshold applied.
- multiblob
Logical. If TRUE, includes multiblob features. Default: FALSE.
- feature_recursive
Logical. If TRUE, searches recursively for feature files when feature_files is a folder. Default: TRUE.
- class_recursive
Logical. If TRUE and class_files is a folder, searches recursively for classification files. Default: TRUE.
- drop_zero_volume
Logical. If TRUE, rows where Biovolume equals zero (e.g., artifacts such as smudges on the flow cell) are removed. Default: FALSE.
- feature_version
Optional numeric or character version to filter feature files by (e.g. 2 for "_v2"). Default is NULL (no filtering).
- use_python
Logical. If TRUE, attempts to read .mat files using a Python-based method (SciPy). Default: FALSE.
- verbose
Logical. If TRUE, prints progress messages. Default: TRUE.
- mat_folder
Use class_files instead.
- mat_files
Use class_files instead.
- mat_recursive
Use class_recursive instead.