load_immundata {immundata} | R Documentation |
Load a Saved ImmunData Object from Disk
Description
Loads an ImmunData
object from a directory created by Immundata I/O functions
(e.g., load_repertoires()
with file splitting or saving). It reads receptor-level
and annotation-level data from standardized Parquet files and reconstructs a
new ImmunData
object with inferred schema.
This function expects two files inside the provided directory:
-
receptors.parquet
: contains the receptor-level table -
annotations.parquet
: contains the annotation-level table
These filenames are defined in imd_files()
and follow the Immundata storage convention.
Usage
load_immundata(path, verbose = TRUE)
Arguments
path |
Path to the folder containing the saved ImmunData files. |
verbose |
Logical. If |
Value
A new ImmunData
object containing receptor and annotation data.
See Also
imd_files()
, ImmunData, duckplyr::read_parquet_duckdb()