get_target_size: Compute total number of loci covered in a BED file

Description Usage Arguments Value Examples

View source: R/get_target_size.R

Description

Compute total number of loci covered in a BED file

Usage

1
get_target_size(targetbed, Mbp = TRUE)

Arguments

targetbed

Genomic regions in the BED tab-delimited format.

Mbp

Return count as Mbp. default: TRUE

Value

Mbp covered in the targetbed

Examples

1
2
targetbed <- system.file("extdata", "regions_toy.bed", package = "abemus")
target_size <- get_target_size(targetbed=targetbed, Mbp = TRUE)

abemus documentation built on Dec. 19, 2019, 1:07 a.m.