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

Add raster.dpi param for geom_scattermore (updated branch) #5392

Merged
merged 5 commits into from Dec 17, 2021

Conversation

samuel-marsh
Copy link
Collaborator

@samuel-marsh samuel-marsh commented Dec 15, 2021

Hi Seurat Team,

Just quick PR supporting what I think seems like good feature request in #5388. This adds relevant new parameter raster.dpi to relevant plots that use geom_scattermore. I have also added appropriate documentation and a warning check to make sure that supplied values for raster.dpi are valid. Pretty sure I caught all the spots (SingleCorPlot and SingleDimPlot and their downstream functions).

Similar to raster I set parameter to NULL in the base plotting functions and set default value in downstream functions (to value that is equivalent to current scattermore defaults). Alternatively could change it so that parameter is NULL in downstream functions and add code so that if left NULL it will default to c(512, 512) if you think that's better on user end.

Thanks again!
Sam

Note: This is resubmission of previous PR #5391. Just decided to make it easy and fetch changes upstream and remake the PR rather than resolving conflicts.

@saketkc saketkc merged commit d23bf67 into satijalab:develop Dec 17, 2021
@saketkc
Copy link
Collaborator

saketkc commented Dec 17, 2021

Thanks a lot for your contribution @samuel-marsh, this looks great!

@samuel-marsh
Copy link
Collaborator Author

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants