-
Notifications
You must be signed in to change notification settings - Fork 25
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
Allow Radius to accept params #190
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure any methods for Radius
defined in SeuratObject (eg. Radius.Centroids
) are updated for with the dots
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks! This looks good; I've added one suggestion to add the PR number to NEWS.md
to auto-link back to it on the pkgdown docs. Also, remember to pin the SeuratObject version to SeuratObject (>= 5.0.1.9005)
(allowed on CRAN) in DESCRIPTION
on Seurat's develop version whenever you get around to adding the ...
and other arguments over there to ensure generic <> method consistency (again, for every method of Radius
that Seurat defines)
@@ -1,6 +1,7 @@ | |||
# Unreleased | |||
|
|||
## Changes: | |||
- Add `...` to call signature for `Radius` generic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Add `...` to call signature for `Radius` generic | |
- Add `...` to call signature for `Radius` generic (#190) |
Enables concrete implementations of
Radius
to take in parameters by adding...
to the generic's signature. Adding ascale
parameter toRadius.VisiumV1
defined inSeurat
would help to enable users to plot with the "tissue_hires_image.png" from Visium datasets.