{ "info": { "author": "Matt Antalek Jr", "author_email": "matthew.antalek@northwestern.edu", "bugtrack_url": null, "classifiers": [ "Topic :: Scientific/Engineering :: Visualization" ], "description": "# pydendroheatmap - a plotting tool for making heatmaps with hierarchically clustered data in python.\n\npydendroheatmap is registered as a package on PyPI, so to install, simply type\n\n```bash\npip install pydendroheatmap\n```\n\nTo install the package from source, download the repository, unpack and open a command line prompt in the unpackaged directory. Then simply type:\n\n```bash\npython setup.py install\n```\n\n\nTo make a plot, simply import the package, and create a DendroHeatMap object. Data for the heatmap and\ndendrogram do not need to be specified at the time of creation, however, if no data is supplied then\nthe plot for these objects will not be rendered. See example uses below.\n\nThe data for the heat map should be either a numpy.ndarray or numpy.matrix object, and the top and left dendrogram\ndata should be in the form of a (n-1) x 4 linkage matrix used in the scipy hierarchical clustering package.\n\n```python\nimport pydendroheatmap as pdh\ntry: import cPickle as pickle\nexcept: import pickle\n\nheatmap_array = pickle.load(open('some_data_file.pickle'))#a numpy.ndarray or numpy.matrix, for this example, let's say mxn array\ntop_dendrogram = pickle.load(open('another_data_file.pickle'))#a (n-1) x 4 array\nside_dendrogram = pickle.load(open('a_third_data_file.pickle'))#a (m-1) x 4 array\n\nheatmap = pdh.DendroHeatMap(heat_map_data=heatmap_array, left_dendrogram=side_dendrogram, top_dendrogram=top_dendrogram)\nheatmap.title = 'This is an example'\nheatmap.show()\n\nheatmap.colormap = heatmap.yellowBlackBlue\n\nheatmap.show()\n\nheatmap.row_labels = ['some', 'row','labels'] #must have the same number of rows in heat_map_data\n\nheatmap.reset_plot()\nheatmap.show()\n\n#excellent, let's export it\n\nheatmap.export('awesome_heatmap_plot.png')\n```\n\n\nTo see a built-in example, run these commands in the python interpreter:\n\n```python\nfrom pydendroheatmap import example\nexample.run()\n```\n\nThe example should make a plot that will look similar to this:\n\n![Example Image](https://github.com/themantalope/pydendroheatmap/blob/master/pydendroheatmap/exampledata/example.png)\n\n\nThe DendroHeatMap object's `render_plot()` function will generate a heat plot, similar in fashion to the one found here:\n\nhttp://code.activestate.com/recipes/578175-hierarchical-clustering-heatmap-python/\n\nEach time the DendroHeatMap object's `show()`, `export()`, and `render_plot()` functions are called,\nthe plot will be reset and any changes that have been made to the plot's instance variables should be taken into account\nin the new plot.\n\nA special thanks to [Nathan Salomonis](http://www.cincinnatichildrens.org/bio/s/nathan-salomonis/) for posting the\noriginal example and figuring out much of the parameters for getting the plots in the correct position!\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/themantalope/pydendroheatmap", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pydendroheatmap", "package_url": "https://pypi.org/project/pydendroheatmap/", "platform": "", "project_url": "https://pypi.org/project/pydendroheatmap/", "project_urls": { "Homepage": "https://github.com/themantalope/pydendroheatmap" }, "release_url": "https://pypi.org/project/pydendroheatmap/1.5/", "requires_dist": null, "requires_python": "", "summary": "Tool for creating heatmaps, where rows and columns are organized by hierarchical clusters as seen in http://code.activestate.com/recipes/578175-hierarchical-clustering-heatmap-python/", "version": "1.5" }, "last_serial": 4090892, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "6dd9b431244024ba25895893a83ffaac", "sha256": "2b961383fb8fe4a1c9839386807286a82807f54ef0977d37572c1f31a62ebce6" }, "downloads": -1, "filename": "pydendroheatmap-1.0.tar.gz", "has_sig": false, "md5_digest": "6dd9b431244024ba25895893a83ffaac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5745, "upload_time": "2015-07-10T19:15:38", "url": "https://files.pythonhosted.org/packages/94/07/3b98ed1778bf94b7e361067a4f488541515d017cbfac8adf711eb4a245b0/pydendroheatmap-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "81a041b4a12c2b3721aef3888366b807", "sha256": "aca90573ddd66ea218739cbc057ae9c6d29cfa5cc534192f5a7667d32934a08f" }, "downloads": -1, "filename": "pydendroheatmap-1.0.1.tar.gz", "has_sig": false, "md5_digest": "81a041b4a12c2b3721aef3888366b807", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5826, "upload_time": "2015-07-10T19:21:55", "url": "https://files.pythonhosted.org/packages/db/be/3ec42891c5669092e3a702a111e5a787928049c9f70a3e556d2399f2eb5c/pydendroheatmap-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "5726cc94acf132abc94589378403f1c3", "sha256": "2e35e8b14bbbce03971a2672bb0b6d3c46095d1f7001cb5d62b17f5631a7d620" }, "downloads": -1, "filename": "pydendroheatmap-1.0.2.tar.gz", "has_sig": false, "md5_digest": "5726cc94acf132abc94589378403f1c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6623, "upload_time": "2015-07-13T22:06:30", "url": "https://files.pythonhosted.org/packages/a0/46/fdc94162ea95ccafa7f12ae44684b37935d10a99f41ee7f460acd199a389/pydendroheatmap-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "167de1d3e62d6a9e9f88d822b5036e1e", "sha256": "5cb5a61382883ca830af2d42b80f84252b482c0f2828271aa5bb46d3110234b0" }, "downloads": -1, "filename": "pydendroheatmap-1.0.3.tar.gz", "has_sig": false, "md5_digest": "167de1d3e62d6a9e9f88d822b5036e1e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6622, "upload_time": "2015-07-13T22:10:39", "url": "https://files.pythonhosted.org/packages/5b/33/ef66eeef7a69ce9bec6b1cc67b2736df54c667eb54b2ecee427576438998/pydendroheatmap-1.0.3.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "020b96fae203c7225b268c7c900b3165", "sha256": "cb53c268163bee74b545ab54834e084c09de0b6394c7ca2477627903a6bc51f2" }, "downloads": -1, "filename": "pydendroheatmap-1.1.tar.gz", "has_sig": false, "md5_digest": "020b96fae203c7225b268c7c900b3165", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6801, "upload_time": "2015-07-14T23:39:21", "url": "https://files.pythonhosted.org/packages/d4/4c/338a45e5ec0020d45aa51ed61ee156a1c63653a0928767473f89561ca07a/pydendroheatmap-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "688dc5f940dce86eb59d1b261e63d529", "sha256": "e960a00e0d5f979428e154ae56a14ea69769581be3be1d410a0ed7f68f9c7ece" }, "downloads": -1, "filename": "pydendroheatmap-1.2.tar.gz", "has_sig": false, "md5_digest": "688dc5f940dce86eb59d1b261e63d529", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6827, "upload_time": "2015-08-09T21:31:20", "url": "https://files.pythonhosted.org/packages/d3/3a/9b5566a66de39aa26b754705299cd8a14952c82b9df5b61004735d5bcb74/pydendroheatmap-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "24030418a426e893cc2f7d5663ddfd44", "sha256": "5c1ad6e2b98c0962f34f0240d20b381496922a5bb2cb42037db981672a5b439d" }, "downloads": -1, "filename": "pydendroheatmap-1.3.tar.gz", "has_sig": false, "md5_digest": "24030418a426e893cc2f7d5663ddfd44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6824, "upload_time": "2015-08-09T21:33:24", "url": "https://files.pythonhosted.org/packages/d0/5d/673e6c760e7d70f2e3133186a72a2148ed70c383d21acc8b97f6bfceaa72/pydendroheatmap-1.3.tar.gz" } ], "1.5": [ { "comment_text": "", "digests": { "md5": "f959d7e4faaff810e3c388af3d626939", "sha256": "d6ce8f99fd77709f49ba5a00e249adfd2a0963a3ed17c02e4c5fab9092a4a916" }, "downloads": -1, "filename": "pydendroheatmap-1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "f959d7e4faaff810e3c388af3d626939", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9144, "upload_time": "2018-07-22T19:49:09", "url": "https://files.pythonhosted.org/packages/c9/da/f36f707e0ec9eb4d87efe37384b036310c67fbd84c9c2136e6f655467ff4/pydendroheatmap-1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b41c45888e71c8d1e9b8a84e7f0a01bd", "sha256": "90a26faa9f8c786f895b31ded5b887acee0cd52a6ace9c2beda62b01974406a6" }, "downloads": -1, "filename": "pydendroheatmap-1.5.tar.gz", "has_sig": false, "md5_digest": "b41c45888e71c8d1e9b8a84e7f0a01bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8407, "upload_time": "2018-07-22T19:49:10", "url": "https://files.pythonhosted.org/packages/22/11/217e6d31b059f526484a31ebbe5cf605fd0143dc4d41dbe34263988eba1c/pydendroheatmap-1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f959d7e4faaff810e3c388af3d626939", "sha256": "d6ce8f99fd77709f49ba5a00e249adfd2a0963a3ed17c02e4c5fab9092a4a916" }, "downloads": -1, "filename": "pydendroheatmap-1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "f959d7e4faaff810e3c388af3d626939", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9144, "upload_time": "2018-07-22T19:49:09", "url": "https://files.pythonhosted.org/packages/c9/da/f36f707e0ec9eb4d87efe37384b036310c67fbd84c9c2136e6f655467ff4/pydendroheatmap-1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b41c45888e71c8d1e9b8a84e7f0a01bd", "sha256": "90a26faa9f8c786f895b31ded5b887acee0cd52a6ace9c2beda62b01974406a6" }, "downloads": -1, "filename": "pydendroheatmap-1.5.tar.gz", "has_sig": false, "md5_digest": "b41c45888e71c8d1e9b8a84e7f0a01bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8407, "upload_time": "2018-07-22T19:49:10", "url": "https://files.pythonhosted.org/packages/22/11/217e6d31b059f526484a31ebbe5cf605fd0143dc4d41dbe34263988eba1c/pydendroheatmap-1.5.tar.gz" } ] }