get_mapped_reads: get_mapped_reads

View source: R/functions_misc.R

get_mapped_readsR Documentation

get_mapped_reads

Description

get_mapped_reads

Usage

get_mapped_reads(bam_file)

Arguments

bam_file

A bam file. Matching .bai file must exist.

Value

The number of mapped reads in bam file.

Examples

bam_file = system.file("extdata/MCF10A_CTCF_R1.100peaks.bam", package = "ssvQC")
get_mapped_reads(bam_file)

FrietzeLabUVM/ssvQC documentation built on Jan. 20, 2025, 8:19 a.m.