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

View source: R/get_target_size.R

get_target_sizeR Documentation

Compute total number of loci covered in a BED file

Description

Compute total number of loci covered in a BED file

Usage

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

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

ncasiraghi/rpabemus documentation built on Nov. 1, 2022, 9:17 p.m.