Skip to contents

Loads binned atac reads, merges cell-wise and bin-wise metadata, and performs QC.

Usage

load_atac_bins(bin_dir, sample_id, bins = NULL, save_to = NULL, verbose = TRUE)

Arguments

bin_dir

Directory with the bin counts

sample_id

Sample ID

bins

Optional: GRanges bins object

save_to

File path in which to save the final output. Note: Will still return the sce object for downstream analysis.

verbose

Message verbosity

Value

A SingleCellExperiment object.