Merged
Conversation
Especially when we visualize raw counts, sometimes it's hard to see the differences between DEGs and other genes in the heatmap since one value can simply dominate the entire heatmap. I think we can add a scaling option to matrixplot, which squashes expression values between 0 and 1 to make markers more pronounced.
Allow greater customizability and visibility when using dotplot by allowing the user to set the smallest dot size.
Collaborator
Author
|
@falexwolf I updated the visualizations example notebook to reflect the changes: scverse/scanpy_usage#11 |
Member
|
Thank you! Shall we close @gokceneraslan PR then? Or do we need to merge it first and then merge this? Thanks for clarifying! Regarding the examples: it's a bit unfortunate, but we migrated to https://github.com/theislab/scanpy-tutorials, and |
Collaborator
|
I think this PR has all the commits from two other PRs. Tricky to set up 😛 We can close mine. |
Member
|
Cool! I'll merge this then. Thanks everybody! |
Collaborator
Author
|
@falexwolf Thanks. I will add the PR to scanpy-tutorials |
awnimo
pushed a commit
to dpeerlab/scanpy
that referenced
this pull request
Dec 17, 2019
standard_scale to plots
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR extends the original PR #512 by @gokceneraslan which adds the
standard_scalingparameter to matrixplot.I added the same functionality to dotplot, heatmap and stacked_violin.
Also, I integrated PR #524 by @sjfleming which adds a
smallest_dotoption to dotplot.