calculateStrandCoverage: Calculate the strand information based on coverage

Description Usage Arguments Value

View source: R/calculateStrandCoverage.R

Description

Calculate the coverage coming from '+'/'-' reads in all sliding wndows

Usage

1
2
calculateStrandCoverage(winPosAlignments, winNegAlignments, winWidth = 1000,
winStep = 100)

Arguments

winPosAlignments

a list that has a 'Coverage' field containing coverage coming from positive reads

winNegAlignments

a list that has a 'Coverage' field containing coverage coming from negative reads

winWidth

the length of the sliding window, 1000 by default.

winStep

the step length to sliding the window, 100 by default.

Value

a list of two vectors, containing a positive/negative coverage of the input positive/negative windows


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