Skip to content
New issue

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

Option to adjust geom_point stroke for FeaturePlot, DimPlot, etc to allow for smaller points #7087

Open
liz-is opened this issue Mar 30, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@liz-is
Copy link

liz-is commented Mar 30, 2023

I often find that when I'm plotting relatively small plots (e.g. 4x4 inches pdf) with many points, reducing the point size with thept.size argument to FeaturePlot, DimPlot, etc, seems to have no impact on the actual point size in the resulting plot. It's basically the same issue as described here. Based on the answers there, I made a custom version of SingleDimPlot where I set stroke = 0 in the call to geom_point (i.e., here). This gave me the desired output - smaller points with less overplotting at the necessary output size.

I was wondering if this change could be made in the code, or if you could add an option, similar to pt.size, that
would allow users to customise stroke width as needed?

@bschilder
Copy link

I'd find this incredibly helpful.
To the Seurat team, please do consider merging the PR by @samuel-marsh which appears to resolve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants