The first element of assays in SE might be a matrix when using DESeq2 method#269
The first element of assays in SE might be a matrix when using DESeq2 method#269xiangpin wants to merge 1 commit into
Conversation
|
@mikelove in case you have any opinion |
|
Great! |
|
Thanks for the PR @xiangpin ! Maybe I'm missing the obvious but why should we add a assay that is a dataframe where DESeq2 needs counts. I fail to see the use-case could you be more explicit? |
|
I would say that having a data.frame instead of matrix in the SummarizedExperiment is not typical. |
|
Yes, a |
|
As the original SE is not changed (but only just the DESeq2 object, passed to the internals for reproducibility, is), I think this PR is great. @xiangpin The only thing I ask before pushing is a unit test that would fail before PR (current master) and produce the expected result with the PR. Thanks for this PR! |
stemangiola
left a comment
There was a problem hiding this comment.
Hello @xiangpin, thanks for the pull request.
Please add a unit test that would fail before PR (current master) and produce the expected result with the PR.
The related issue
when convert it to matrix, it works