-
Notifications
You must be signed in to change notification settings - Fork 927
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
Implement group.by arg to FindAllMarkers #9550
Implement group.by arg to FindAllMarkers #9550
Conversation
Hi @rharao, If you don't mind suggestion I would recommend adding two check addition checks to the PR, just for end users sake. First, would be a check that So overall something like:
Best, |
@samuel-marsh I'm glad you mentioned this. I considered this, but these conditionals are the ones currently in place with One benefit to the minimally guarded assignment here is that the user can supply a vector of cell memberships that might not be part of the object metadata. I can add another conditional to allow this. My opinion is that |
@samuel-marsh I think this is now ready unless something else is noticed. I'd appreciate your review if you have time |
Hi @rharao, Things look ok to me. I’m not member of dev team though so can’t do the official review and merge. Best, |
@dcollins15 any additional thoughts? |
Thanks for this @rharao! I was waiting to run this change by a couple of other lab members who're fairly opinionated about the I want to get this merged in ASAP so I can start the CRAN submission process this afternoon—do you mind if I rebase (just to keep the commit history linear) and then push up a couple of small tweaks? I've got the following changes in the can:
|
Don't mind at all. Thanks a lot. |
ebbcc97
to
ffd4a20
Compare
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.
LGTM 🚀
@@ -1,6 +1,8 @@ | |||
# Unreleased | |||
|
|||
## Changes | |||
- Added `group.by` parameter to `FindAllMarkers`, allowing users to regroup their data using a non-default identity class prior to performing differential expression ([#9550](https://github.com/satijalab/seurat/pull/9550)) | |||
#' performing differential expression (see example); \code{"ident"} to use Idents |
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 like a copy-paste error here 😄
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.
🤦
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.
Not a big deal, I'll need to update NEWS.md
as part of the final release anyways—thanks for the catch!
Thanks again @dcollins15 ❤️ I'm deleting the branch on my fork now |
I saw @AlbertoFabbri93's suggestion on #4775 and thought it was a good idea. Currently, one can't group the cells for FindAllMarkers by anything besides the object's idents.