orientBy {soGGi} | R Documentation |
Set strand by overlapping or nearest anchor GRanges
orientBy(testRanges, anchorRanges)
testRanges |
The GRanges object to anchor. |
anchorRanges |
A GRanges object by which to anchor strand orientation. |
newRanges A GRanges object.
data(ik_Example) strand(ik_Example[[1]]) <- "+" anchoredGRanges <- orientBy(ik_Example[[2]],ik_Example[[1]])