calcWidth: Calculate the widths of regions

View source: R/qthist.R

calcWidthR Documentation

Calculate the widths of regions

Description

The length of a genomic region (the distance between the start and end) is called the width When given a query set of genomic regions, this function returns the width

Usage

calcWidth(query)

Arguments

query

A GRanges or GRangesList object with query sets

Value

A vector of the widths (end-start coordinates) of GRanges objects.

Examples

regWidths = calcWidth(vistaEnhancers)

databio/GenomicDistributions documentation built on April 30, 2024, 4:34 a.m.