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

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)