-
Notifications
You must be signed in to change notification settings - Fork 42
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
Support for combinations of gene activation and repression #12
Comments
Hi @giladmishne, Thanks for raising this issue. Sharing below a quick solution to this problem but feel free to try other ideas. First allow perturbation embeddings to be added or subtracted. This is currently the line where each perturbation's embedding is added together: Lines 159 to 160 in aa1e003
Then change how the signed indices are generated. Somewhere around this function, we would need to check the input adata to see if the perturbation is an activation or a repression and change the index accordingly: Lines 285 to 289 in aa1e003
|
Thanks! I have a sketch of this at https://github.com/giladmishne/GEARS/tree/pert_magnitude. (Many of the changes are just trimmed whitespace by the editor I'm using -- apologies for the noise). |
Thanks a lot! Would you mind opening a PR as well so we it's easier to track the discussion and compare changes |
Done - see #17 . |
Hi,
Thanks for releasing this package! One addition that would be great would be support for datasets that contain combinations of activations and repressions, including within the same perturbation. My understanding from @yhr91 is that this is not currently supported, but is not complex to add.
Thanks again!
The text was updated successfully, but these errors were encountered: