getWinFromGranges {strandCheckR}R Documentation

Get the Sliding Windows from a GRanges object

Description

Get the positive/negative windows that overlap a GRanges object

Usage

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


[Package strandCheckR version 1.10.0 Index]