Skip to content
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

cell-cell affinity matrix #49

Open
ytliu01 opened this issue Jul 15, 2023 · 1 comment
Open

cell-cell affinity matrix #49

ytliu01 opened this issue Jul 15, 2023 · 1 comment

Comments

@ytliu01
Copy link

ytliu01 commented Jul 15, 2023

Hi,

Thanks for this fantastic tool!
I read the paper introducing SEACell and felt like the cell-cell affinity matrix ordered by meta cells is a useful visualization (Fig1,h in the paper). I'm wondering if the package has a plotting function to make such a visualization.

Thanks!

@ManuSetty
Copy link
Member

We unfortunately do not have the functionality but it should be relatively straightforward to make this plot. The kernel matrix is stored in model.K and the order of cells is same as that of the input. You can then use the kernel in model.K as input to seaborn heatmap or clustermap to generate the visualization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants