index2range: Find covered ranges with numerical index data

View source: R/dna.R

index2rangeR Documentation

Find covered ranges with numerical index data

Description

Find covered ranges with numerical index data

Usage

index2range(index)

Arguments

index

numeric indices indicating positions of interest

Value

data.frame with rows for each contiguous region of interest with columns start and end of regions

Examples

index2range(c(1:100,300:450))
index2range(c(1:100,2:110))

sherrillmix/dnar documentation built on July 18, 2022, 10:07 p.m.