binary2range: Find covered ranges in binary data

View source: R/dna.R

binary2rangeR Documentation

Find covered ranges in binary data

Description

Find covered ranges in binary data

Usage

binary2range(index)

Arguments

index

logical vector containing TRUE in the regions of interest

Value

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

Examples

binary2range(c(FALSE,TRUE,FALSE,TRUE,TRUE,TRUE))

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