get_mapped_reads: get_mapped_reads

View source: R/misc_helpers.R

get_mapped_readsR Documentation

get_mapped_reads

Description

get_mapped_reads

Usage

get_mapped_reads(bam_files)

Arguments

bam_files

Path to 1 or more bam files. Must be indexed.

Value

the total mapped reads in each bam file as a named numeric vector.

Examples

bam_file = system.file("extdata/test.bam", package = "seqsetvis", mustWork = TRUE)
get_mapped_reads(bam_file)

jrboyd/seqsetvis documentation built on Oct. 15, 2024, 11:28 p.m.