scgenome.pp.read_bam_bin_counts#
- scgenome.pp.read_bam_bin_counts(bins, bams, excluded=None, **kwargs)#
Count reads in bins from bams
- Parameters:
bins (pyranges.PyRanges) – bins in which to count reads
bams (Dict[str]) – bam filenames with cell ids as keys
excluded (PyRanges) – excluded genomic regions to filter reads
- Returns:
binned read counts
- Return type:
ad.AnnData