library("tima")
# Validate all inputs before starting pipeline
validate_inputs(
features = "data/features.csv",
spectra = "data/spectra.mgf",
sirius = "data/sirius_output"
)
# Validate with metadata consistency check
validate_inputs(
features = "data/features.csv",
metadata = "data/metadata.tsv"
)Validate Input Data
Description
Standalone command to validate all input data before starting the TIMA pipeline. This helps catch issues early and avoid wasting time on library downloads and processing.
Usage
validate_inputs(
features = NULL,
spectra = NULL,
metadata = NULL,
sirius = NULL,
filename_col = "filename",
organism_col = "organism",
feature_col = "feature_id"
)
Arguments
features
|
character Character path to features CSV/TSV file |
spectra
|
character Character path to MGF spectra file |
metadata
|
character Character path to metadata file |
sirius
|
character Character path to SIRIUS output directory or ZIP file |
filename_col
|
character Character name of filename column (default: "filename") |
organism_col
|
character Character name of organism column (default: "organism") |
feature_col
|
character Character name of feature ID column (default: "feature_id") |
Value
Invisible TRUE if all checks pass, stops with error otherwise
See Also
Other workflow: change_params_small(), create_components(), create_edges(), create_edges_spectra(), go_to_cache(), install(), install_tima(), run_app(), run_tima(), tima_full()