.calculateStrandCoverage {strandCheckR} | R Documentation |
Calculate the coverage coming from '+'/'-' reads in all sliding windows
.calculateStrandCoverage(winPosAlignments, winNegAlignments, winWidth = 1000L, winStep = 100L)
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. |
a list of two vectors, containing a positive/negative coverage of the input positive/negative windows