genomation icon indicating copy to clipboard operation
genomation copied to clipboard

list of score matrices not printed out correctly to terminal

Open balwierz opened this issue 6 years ago • 0 comments

Not sure if this is a problem with genomation or some R "feature":

If I have a list of score matrices the printout of the list (when typed the name of the list and pressed enter; not sure which function is called), then the dimensions of the score matrices come async with the indices of the list, e.g.:

> myScoreMatrix
[[1]]

[[2]]
  scoreMatrix with dims: 2749 1601
  scoreMatrix with dims: 246 1601

[[3]]

[[4]]
  scoreMatrix with dims: 653 1601
  scoreMatrix with dims: 200 1601

[[5]]

  scoreMatrix with dims: 1048 1601

What I expect to happen is a listing in synchro, e.g.:

> list(GRanges("A", IRanges(1, 6)), "foo", 1:6)
[[1]]
GRanges object with 1 range and 0 metadata columns:
      seqnames    ranges strand
         <Rle> <IRanges>  <Rle>
  [1]        A       1-6      *
  -------
  seqinfo: 1 sequence from an unspecified genome; no seqlengths

[[2]]
[1] "foo"

[[3]]
[1] 1 2 3 4 5 6

balwierz avatar Jul 04 '18 14:07 balwierz