
Load an ATAC-only experiment from a fragment file
load_atac_fragments.RdThe cells come from exactly one of barcodes, cellranger or
min_fragments; with the last, every barcode with at least that many
fragments (outside exclude_chroms), sorted, as Cell Ranger orders them.
See barcode_fragment_counts() for the knee plot to pick it
from. Pass exactly one of peaks and tile_width.
Arguments
- object
SingleCellsAtacclass.- fragments
String. The fragment file (BGZF, gzip or plain).
- peaks
Optional. A BED file or a data.frame with
chrom,start,end.- tile_width
Optional integer. Tile width in bp, instead of
peaks.- chrom_sizes
Optional named integer vector of chromosome lengths, for the tiles.
- mode
String. What one count is, see
add_atac_fragments_sc().- barcodes
Optional character vector. The cell barcodes.
- cellranger
Optional string. Cell Ranger ATAC's
singlecell.csvor filtered h5.- min_fragments
Optional integer. Call cells with at least this many fragments.
- exclude_chroms
Character vector. Chromosomes the
min_fragmentscount skips.- max_mem_gb
Optional numeric. Memory budget of the feature-major conversion.
- .verbose
Boolean. Controls verbosity.