getWinFromGranges: Get the Sliding Windows from a GRanges object

Description Usage Arguments Value

View source: R/getWinFromGranges.R

Description

Get the positive/negative windows that overlap a GRanges object

Usage

1
getWinFromGranges(x, seqInfo, winWidth = 1000, winStep = 100)

Arguments

x

a GRanges object

seqInfo

a data frame that contains some key information of the alignments

winWidth

The width of each window

winStep

The step size for sliding the window

Value

A list of two logical vectors (for positive and negative strand) defining which windows that overlap the given Granges objects


strandCheckR documentation built on Nov. 8, 2020, 7:02 p.m.