Register a Parquet-backed assay as a DuckDB view for out-of-core queries
Source:R/io-arrow.R
registerParquetAssay.RdCreates (or replaces) a DuckDB view over an assay Parquet file written by
writeParquet(), using DuckDB's read_parquet() so that aggregates are
computed directly over the file without loading it into R. The view columns
are ch1, ch2, ... (one per channel).
Arguments
- con
A DuckDB connection (from
connectDatabase()).- dir
A directory written by
writeParquet().- view_name
Name of the DuckDB view to create (default
"signals").- assay
Assay to expose; defaults to the manifest's default assay.