genomation icon indicating copy to clipboard operation
genomation copied to clipboard

ScoreMatrix returns matrix with wrong dimensions

Open balwierz opened this issue 4 years ago • 0 comments

Example code:

gr1 <- GRanges("a", IRanges(2:10, 3:11))
gr2 <- GRanges("a", IRanges(1, 10))
ScoreMatrix(gr1, gr2)

Expected result: 1x10 ScoreMatrix with data: 0 1 2 2 2 2 2 2 2 2

Observed result: 10x1 ScoreMatrix. The content is correct when transposed.

balwierz avatar Jan 27 '21 14:01 balwierz