| rduckhts_bcf_multi | R Documentation |
Read and combine multiple VCF/BCF files via UNION ALL BY NAME,
materialising the result as a DuckDB table.
Each row includes a filename column identifying its source file.
rduckhts_bcf_multi(
con,
table_name,
files,
region = NULL,
index_path = NULL,
tidy_format = FALSE,
additional_csq_column_types = NULL,
scan_mode = NULL,
decompression_threads = 0,
.params = NULL,
overwrite = FALSE,
samples = NULL
)
con |
A DBI connection to DuckDB with the duckhts extension loaded. |
table_name |
Name of the DuckDB table to create. |
files |
Character vector of file paths or glob patterns. |
region |
Optional region string. |
index_path |
Optional index file path. |
tidy_format |
Logical; use tidy FORMAT column output. |
additional_csq_column_types |
Optional CSQ type override string. |
scan_mode |
Optional scan mode ('"auto"' or '"sequential"'). |
decompression_threads |
Integer. Number of htslib decompression worker threads per file handle. Default '0'. |
.params |
Optional data.frame with per-file parameter overrides. |
overwrite |
Logical; if |
samples |
Optional HTSlib sample-selector string, as in [rduckhts_bcf()]. |
Invisible TRUE on success.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.