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

ThomasCarroll/soGGi documentation built on May 7, 2019, 8:40 a.m.