bams_to_matrix_indexes: Count bam files on interval to create count indexes

View source: R/preprocessing_filtering_reduction.R

bams_to_matrix_indexesR Documentation

Count bam files on interval to create count indexes

Description

Count bam files on interval to create count indexes

Usage

bams_to_matrix_indexes(dir, which, BPPARAM = BiocParallel::bpparam())

Arguments

dir

A directory containing single cell BAM files and BAI files

which

Genomic Range on which to count

BPPARAM

BPPARAM object for multiprocessing. See bpparam for more informations. Will take the default BPPARAM set in your R session.

Value

A list containing a "feature index" data.frame and a count vector for non 0 entries, both used to form the sparse matrix


vallotlab/ChromSCape documentation built on Oct. 15, 2023, 1:47 p.m.