convertToOneBasedRanges {ORFik} | R Documentation

## Convert a GRanges Object to 1 width reads

### Description

There are 3 ways of doing this 1. Take 5' ends, reduce away rest (5prime) 2. Tile and include all (tileAll) 3. Take middle point per GRanges (middle)

### Usage

    convertToOneBasedRanges(gr, method = "5prime", addScoreColumn = FALSE)

### Arguments

`gr` | GRanges Object to reduce
`method` | the method to reduce, see info. (5prime defualt)
`addScoreColumn` | logical (FALSE), if TRUE, add a score column that sums up the hits per position.

### Value

Converted GRanges object

### See Also

Other utils: `bedToGR`, `findFa`, `fread.bed`, `is.gr_or_grl`, `is.grl`, `validGRL`

[Package ORFik version 1.2.1 Index]