Suggestion: jitter & shuffle defaults FeatureScatter #5876
Merged
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.
Hi Seurat Team,
Just wanted to pop in potential suggestion for change in defaults on
FeatureScatter
based on recent issue #5875 where the jitter default can give false impression of data. In looking at this I started wondering whether changing the default behavior fromjitter = TRUE
andshuffle = FALSE
might actually be more informative for the user. I'll describe my rationale and leave examples below and then leave it to your team. As I say just potential suggestion and I likely do not have the full rationale for the design choices so feel free to reject the PR.In most cases on truly crowded plot the
jitter
being applied doesn't (at least to my eye) significantly alter the visualization. However, settingshuffle = TRUE
does significantly alter things by reducing identity layering effects which can mask cell/identity location. I do concede that the interpretability of the shuffled plot is also difficult due to sheer number of points but overall I think the effect is better thanshuffle = FALSE
.Using the SeuratData hcabm40K as moderately (compared to 100K+ cells at least) crowded dataset. I also cropped axes of plots below to increase resolution to see an effect of these parameters as raw dataset has some outliers.
Thanks again for everything you do!
Best,
Sam