orientBy: Set strand by overlapping or nearest anchor GRanges

Description

Set strand by overlapping or nearest anchor GRanges

Usage

1
orientBy(testRanges, anchorRanges)

Arguments

testRanges

The GRanges object to anchor.

anchorRanges

A GRanges object by which to anchor strand orientation.

Value

newRanges A GRanges object.

Examples

1
2
3
data(ik_Example)
strand(ik_Example[[1]]) <- "+"
anchoredGRanges <- orientBy(ik_Example[[2]],ik_Example[[1]])

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.