We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IIUC, when there is only one cluster left, as.matrix() results in a one column matrix instead of one row matrix.
as.matrix()
CATALYST/R/plotDiffHeatmap.R
Lines 243 to 250 in f3e294e
if (nrow(top) == 1) y <- t(y)
The text was updated successfully, but these errors were encountered:
In fact, the following is even simpler: fq <- fq[top$cluster_id, , drop = FALSE]
fq <- fq[top$cluster_id, , drop = FALSE]
Sorry, something went wrong.
Sounds good. Thanks again for catching this. Edgy cases aren't my strong suit to think of ;) - will do along with issue #381.
Thanks. Edgy cases are very difficult to anticipate. This question is independent from #381.
Yes, absolutely, I only meant that I will try and resolve both with one update/version bump.
addressing #382
5c616ae
No branches or pull requests
IIUC, when there is only one cluster left,
as.matrix()
results in a one column matrix instead of one row matrix.CATALYST/R/plotDiffHeatmap.R
Lines 243 to 250 in f3e294e
I propose to transpose y in such a case.
if (nrow(top) == 1) y <- t(y)
In my hands, it works and permits to display a single significant cluster.
The text was updated successfully, but these errors were encountered: