Teichlab / cellphonedb

MIT License
342 stars 105 forks source link

Heatmap order of cells #143

Closed rlorenzc closed 4 years ago

rlorenzc commented 4 years ago

Hi!

Is there a way to tell cellphoneDB a specific way to order the heatmap rows and columns? I'm trying to compare two datasets and it always generates heatmaps that have some hierarchical clustering done on them.

Similarly, what is the output file being parsed into pheatmap? I can also just plot that object onto pheatmap to get the order of the columns and rows in a specific way.

Thanks!

Lorenz

mvento commented 4 years ago

Hi @rlorenzc,

Thanks for using CellPhoneDB. It didn't exist a way to sort rows/columns in the plots right now.

Please, feel free to implement it (and share! 🙃).

Here you can find the R plot files. You can call directly from R Studio.

Best!