range2GRanges: From data frame of ranges to GRanges object

Description Usage Arguments Examples

View source: R/pointsWithin.R

Description

From data frame of ranges to GRanges object

Usage

1

Arguments

df

Data frame with chr, start, and end columns

Examples

1
2
3
4
5
6
df <- data.frame(
   'chr' = c('chr1', 'chr2'),
   'startPos' = c(5, 0),
   'endPos' = c(100, 20000)
   )
range2GRanges(df)

JEFworks/badger documentation built on May 7, 2019, 7:40 a.m.