MaayanLab / clustergrammer-py

A python module for the clustergrammer matrix visualization project that creates the JSON object for the front-end JavaScript portion of Clustergrammer.
MIT License
12 stars 15 forks source link

How to solve this problem---Rookie #14

Open rersister opened 5 years ago

rersister commented 5 years ago

Ex. I'm always frustrated when try to figure out how to produce these file--mult_view_sim_col.json and mult_view_sim_row.json. I want to use Clustergrammer---- Column Similarity Martrix---this fuction. [Clustergrammer]https://clustergrammer.readthedocs.io/clustergrammer_web.html)

cornhundred commented 5 years ago

Hi @rersister, thanks for reaching out. I made this example notebook using the Clustergrammer-Widget (which is a wrapper for Clustergrammer-PY):

https://nbviewer.jupyter.org/github/MaayanLab/clustergrammer-widget/blob/issue-14/Running_clustergrammer_widget.ipynb?flush_cache=True

showing how you can export the visualization JSONs for the clustergram, row similarity matrix, and column similarity matrix. The branch can be found here: https://github.com/MaayanLab/clustergrammer-widget/tree/issue-14

Let us know if that helps.