-
Notifications
You must be signed in to change notification settings - Fork 9
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
output the raw cell transition data without aggregation #733
Comments
Hi @Xian123123123 , I guess that you just wanna have the transport matrix then? You can access this via |
Yes. Could you share an example code? Thanks. |
Thank you @MUCDK , how can I generate the full transport matrix from 700_tutorial_perturbation_with_Sinkhorn.ipynb (i.e. between a drug and the control)? |
you can use e.g. |
thank you @MUCDK. with the full transport matrix, how does one decide which link is "real", i.e. how does one define a threshold? |
First, this depends on the entropy regularisation. The higher You could take the argmax for each row, or use the sparsification method to set a large number of the entries to 0: https://moscot.readthedocs.io/en/latest/genapi/moscot.base.output.BaseSolverOutput.sparsify.html#moscot.base.output.BaseSolverOutput.sparsify |
I'm closing this for now. Please reopen if necessary. |
Hi, thank you for the amazing work!
How could one output the raw cell transition data without aggregation? For example, in 200_cell_transitions.ipynb, is it possible to output the entire source x target matrix? thanks.
The text was updated successfully, but these errors were encountered: