compute_exome_coverage: Compute exome coverage from a region file

compute_exome_coverageR Documentation

Compute exome coverage from a region file

Description

This function will take a bed file, and return the sum of the lengths of unique regions

Usage

compute_exome_coverage(targets_bed_file, out_file = NULL)

Arguments

targets_bed_file

Path to a bed file with exome target regions

out_file

A file name to which the number of covered bases will be written, instead of returning the value

Value

An integer value of the sum of the length of the covered regions

Author(s)

Mayank Tandon, Ashish Jain

Examples

library(MAFDash)
bedFile <- system.file("extdata", "test.bed", package = "MAFDash")
coverage<-compute_exome_coverage(bedFile)

MAFDash documentation built on April 1, 2022, 9:05 a.m.