orientBy: Set strand by overlapping or nearest anchor GRanges

Description Usage Arguments Value Examples

View source: R/peakTransforms.r

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]])

soGGi documentation built on Nov. 8, 2020, 5:24 p.m.