Get example files

Description

This function downloads example data files for testing and demonstration purposes. Supports downloading features, metadata, SIRIUS annotations, mass spectra, and spectral libraries with retention times.

Usage

get_example_files(
  example = c("features", "metadata", "sirius", "spectra"),
  in_cache = TRUE
)

Arguments

example Character vector specifying which example files to download. Valid options: "features", "metadata", "sirius", "spectra", "spectral_lib_with_rt"
in_cache Logical whether to store files in the cache directory (default: TRUE)

Value

NULL (invisibly). Downloads files as a side effect.

Examples

library("tima")

# Download features and metadata examples
get_example_files(example = c("features", "metadata"))

# Download all example files to cache
get_example_files(
  example = c("features", "metadata", "sirius", "spectra"),
  in_cache = TRUE
)