Learn R Programming

abemus (version 1.0.2)

get_target_size: 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

Run this code
# NOT RUN {
targetbed <- system.file("extdata", "regions_toy.bed", package = "abemus")
target_size <- get_target_size(targetbed=targetbed, Mbp = TRUE)
# }

Run the code above in your browser using DataLab