50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

soGGi (version 1.4.4)

orientBy: Set strand by overlapping or nearest anchor GRanges

Description

Set strand by overlapping or nearest anchor GRanges

Usage

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

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

Run the code above in your browser using DataLab