
bixverse single cell ATAC class
SingleCellsAtac.RdA single cell ATAC experiment without RNA: a peak or genome tile store,
with the same on-disk layout as SingleCells(). The var table
holds the features as gene_id (chr:start-end, 0-based half-open) with
chrom, start and end, so the usual store machinery reads it unchanged.
Create one with load_atac_fragments() or
load_atac_tenx(), reopen one with
load_existing().
modality = "atac" and the default "rna" both name this object's own
store and cache, so code written for the ATAC side of a
SingleCellsMultiModal() runs unchanged.
Properties
- db_connection
R6 class with the DuckDB connection.
- count_connection
Rust connection to the peak or tile store.
- dir_data
Path to the directory with the data.
- sc_cache
The ATAC cache: LSI and other embeddings, kNN, graph.
- sc_map
Cell and feature mappings, the cell filter.
- dims
Dimensions of the store, cells x features.
- atac_info
AtacInfowith the store state and the LSI fit.
Examples
# an empty handle; fill it with load_atac_fragments() or load_atac_tenx()
dir <- tempfile("bixverse_atac")
dir.create(dir)
object <- SingleCellsAtac(dir_data = dir)
unlink(dir, recursive = TRUE, force = TRUE)