-
Notifications
You must be signed in to change notification settings - Fork 615
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 key_added option to sc.tl.paga #957
base: main
Are you sure you want to change the base?
Conversation
630d95d
to
ec42b3b
Compare
Is this backward compatible for cases where old AnnData object are loaded? |
The default behavior is the same, if |
I see... but as it's always |
Then you'll have it under both There are weird failure modes though, like using Actually this is related to the versioning of AnnData specification. We should keep some sort of version like |
this is exactly what i was worried about. 'groups' is probably not such a rare case as a key. But good to take care of that. I guess in the old & new case, you just have a bit of a messy |
I'd actually be fine with merging this - @gokceneraslan, you can merge yourself, can't you? |
We'll have 1.5.0 in a couple of days, and so it's fine to make a few behavior changes. We should put a warning in the release notes, though. |
It'd be cool to allow multiple abstract representations of the same graph (e.g. w.r.t different groups). What do you think about storing PAGA info under
adata.uns['paga'][key_added]
instead of directlyadata.uns['paga']
?