Skip to contents

Low-level constructor for image_catalog objects. Users should typically use image_catalog() for file discovery instead.

Usage

new_image_catalog(
  files,
  metadata = NULL,
  root_dir = NULL,
  pattern = NULL,
  assay_map = list()
)

Arguments

files

Character vector of absolute file paths.

metadata

Data frame with one row per file containing extracted path components and user-assigned metadata.

root_dir

Root directory used for discovery (for relative path display).

pattern

Original glob pattern used for discovery.

assay_map

Named list mapping assay names to file selection criteria.

Value

An object of class c("image_catalog", "list").