Skip to content

Save a multi-omic data object to disk

Usage

save_omics_data(
  omics_data,
  file = NULL,
  out_dir = NULL,
  db = NULL,
  prefix = "omics_data",
  compress = "xz",
  verbose = TRUE
)

Arguments

omics_data

A multi-omic data list (e.g., output of load_prep_multiomic_data()).

file

Optional full path to an RDS file. If NULL, uses out_dir/db/prefix.

out_dir

Output directory used when file is NULL.

db

Optional database tag appended to the filename when file is NULL.

prefix

Filename prefix used when file is NULL.

compress

Compression passed to saveRDS().

verbose

Emit status messages.

Value

Path to the written file (invisible).