convertToOneBasedRanges {ORFik} | R Documentation |
There are 4 ways of doing this 1. Take 5' ends, reduce away rest (5prime) 2. Take 3' ends, reduce away rest (3prime) 3. Tile and include all (tileAll) 4. Take middle point per GRanges (middle)
convertToOneBasedRanges(gr, method = "5prime", addScoreColumn = FALSE, addSizeColumn = FALSE)
gr |
GRanges, GAlignment 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. |
addSizeColumn |
logical (FALSE), if TRUE, add a size column that for each read, that gives original width of read. |
Many other ways to do this have their own functions, like startCodons and stopCodons.
Converted GRanges object
Other utils: bedToGR
, findFa
,
fread.bed
, is.gr_or_grl
,
is.grl
, validGRL