PyComplexHeatmap


NamePyComplexHeatmap JSON
Version 1.7.6 PyPI version JSON
download
home_pagehttps://github.com/DingWB/PyComplexHeatmap
SummaryA python package to plot complex heatmap
upload_time2024-08-01 19:10:11
maintainerNone
docs_urlNone
authorWubin Ding
requires_python>=3.0
licenseMIT License Copyright (c) 2023 Wubin Ding Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords complexheatmap heatmap
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PyComplexHeatmap [![Downloads](https://static.pepy.tech/personalized-badge/pycomplexheatmap?period=total&units=international_system&left_color=blue&right_color=black&left_text=Downloads)](https://pepy.tech/project/pycomplexheatmap) [![Downloads](https://static.pepy.tech/personalized-badge/pycomplexheatmap?period=month&units=international_system&left_color=green&right_color=orange&left_text=Last%20Month)](https://pepy.tech/project/pycomplexheatmap) [![Downloads](https://static.pepy.tech/personalized-badge/pycomplexheatmap?period=week&units=international_system&left_color=red&right_color=brightgreen&left_text=This%20week)](https://pepy.tech/project/pycomplexheatmap)
PyComplexHeatmap is a Python package to plot complex heatmap (clustermap). Please click [here](https://dingwb.github.io/PyComplexHeatmap) for documentation.

## Documentation:
----------------------
[https://dingwb.github.io/PyComplexHeatmap](https://dingwb.github.io/PyComplexHeatmap)
<br><br>
[PYPI](https://pypi.org/project/PyComplexHeatmap/)
<br>

### Wiki
[wiki/layout](../../wiki/Layout/)
<br>
[wiki/Parameters](../../wiki/Parameters/)
<br>
[wiki/Features](../../wiki/Features/)

## Dependencies:
----------------------
- matplotlib>=3.3.1
- numpy
- pandas
- scipy
- fastcluster
```
pip install --ignore-install matplotlib numpy pandas fastcluster
```

## Citation
Ding, W., Goldberg, D. and Zhou, W. (2023), PyComplexHeatmap: A Python package to visualize multimodal genomics data. iMeta e115. https://doi.org/10.1002/imt2.115
<br>
**DOI**: [10.1002/imt2.115](https://onlinelibrary.wiley.com/doi/10.1002/imt2.115)
<br>
**PMID**: [38454967](https://pubmed.ncbi.nlm.nih.gov/38454967/)

## **Installation**
----------------------
1. **Install using pip**:
```shell
pip install PyComplexHeatmap

#upgrade from older version
pip install --upgrade PyComplexHeatmap
```

2. **Install the developmental version directly from github**:
```shell
pip install git+https://github.com/DingWB/PyComplexHeatmap
# reinstall
pip uninstall -y PyComplexHeatmap && pip install git+https://github.com/DingWB/PyComplexHeatmap
```
OR
```shell
git clone https://github.com/DingWB/PyComplexHeatmap
cd PyComplexHeatmap
python setup.py install
```

## [**Usage**](https://dingwb.github.io/PyComplexHeatmap)
----------------------
### [Simple Guide To Get started](https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/get_started.html)
### Example output
Click picture to view the source code

<table>
    <tr style="height: 500px">
        <td style="width:33%; background-color:white;text-align:center; vertical-align:middle">
            <a href="https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/kwargs.html#Control-gap-&-pad-in-heatmap">
                <img src="docs/images/gallery1.png" title="kwargs, gap and pad" align="center" width="250px">
            </a>
        </td>
        <td style="width:33%; background-color:white;text-align:center; vertical-align:middle">
            <a href="https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/kwargs.html#Modifying-xlabel-and-ylabel-using-xlabel_kws-and-ylabel_kws">
                <img src="docs/images/gallery11.png" title="Modify labels" align="center" width="250px">
            </a>
        </td>
        <td style="width:33%; background-color:white;text-align:center; vertical-align:middle">
            <a href="https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/composite_heatmaps.html#Composite-two-heatmaps-horizontally-for-mouse-DNA-methylation-array-dataset">
                <img src="docs/images/gallery3.jpg" title="Combine two heatmap horizontally" align="center" width="250px">
            </a>
        </td>
    </tr>
    <tr style="height: 500px">
        <td style="width:33%; background-color:white;text-align:center; vertical-align:middle">
            <a href="https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/advanced_usage.html#Only-plot-the-annotations">
                <img src="docs/images/gallery5.png" title="Only plot annotations" align="center" width="250px">
            </a>
        </td>
        <td style="width:33%; background-color:white;text-align:center; vertical-align:middle">
            <a href="https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/advanced_usage.html#Cluster-between-groups-and-cluster-within-groups">
                <img src="docs/images/gallery6.png" title="Cluster between groups" align="center" width="250px">
            </a>
        </td>
        <td style="width:33%; background-color:white;text-align:center; vertical-align:middle">
            <a href="https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/single_cell_methylation.html">
                <img src="docs/images/gallery9.png" title="DNA methylation cell type specific signatures" align="center" width="250px">
            </a>
        </td>
    </tr>
    <tr style="height: 500px">
        <td style="width:33%; background-color:white;text-align:center; vertical-align:middle">
            <a href="https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/oncoPrint.html">
                <img src="docs/images/gallery8.png" title="OncoPrint with columns split" align="center" width="250px">
            </a>
        </td>
        <td style="width:33%; background-color:white;text-align:center; vertical-align:middle">
            <a href="https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/dotHeatmap.html#Visualize-up-to-five-dimension-data-using-DotClustermapPlotter">
                <img src="docs/images/gallery7.png" title="Dot clustermap to show enrichment result" align="center" width="250px">
            </a>
        </td>
        <td style="width:33%; background-color:white;text-align:center; vertical-align:middle">
            <a href="https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/oncoPrint2.html">
                <img src="docs/images/gallery4.png" title="Visualizing categorical variables using oncoPrint" align="center" width="250px">
            </a>
        </td>
    </tr>
    <tr style="height: 500px">
        <td style="width:33%; background-color:white;text-align:center; vertical-align:middle">
            <a href="https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/cpg_modules.html#Plotting-the-Dot-clustermap">
                <img src="docs/images/gallery2.png" title="Dot clustermap with annotations" align="center" width="250px">
            </a>
        </td>
        <td style="width:33%; background-color:white;text-align:center; vertical-align:middle">
            <a href="https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/advanced_usage.html#Custom-annotation">
                <img src="docs/images/gallery10.png" title="Custom annotation" align="center" width="250px">
            </a>
        </td>
        <td style="width:33%; background-color:white;text-align:center; vertical-align:middle">
            <a href="https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/gene_enrichment_analysis.html#Plot">
                <img src="docs/images/gallery12.png" title="Plot only the annotation with different orientations" align="center" width="250px">
            </a>
        </td>
    </tr>
</table>

### [Advanced Usage](https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/advanced_usage.html)

### [Kwargs](https://dingwb.github.io/PyComplexHeatmap/build/html/kwargs.html)

## **More Examples**
[https://dingwb.github.io/PyComplexHeatmap/build/html/more_examples.html](https://dingwb.github.io/PyComplexHeatmap/build/html/more_examples.html)

## Call for Contributions
----------------------

The PyComplexHeatmap project welcomes your expertise and enthusiasm!

Small improvements or fixes are always appreciated. If you are considering larger contributions
to the source code, please contact us (ding.wu.bin.gm@gmail.com).

Writing code isn’t the only way to contribute to PyComplexHeatmap. You can also:
- review pull requests
- help us stay on top of new and old issues
- develop tutorials, presentations, and other educational materials
- maintain and improve [our website](https://dingwb.github.io/PyComplexHeatmap)
- develop graphic design for our brand assets and promotional materials
- translate website content
- help with outreach and onboard new contributors
- put forward some new ideas about update.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/DingWB/PyComplexHeatmap",
    "name": "PyComplexHeatmap",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.0",
    "maintainer_email": null,
    "keywords": "ComplexHeatmap, heatmap",
    "author": "Wubin Ding",
    "author_email": "Wubin Ding <ding.wu.bin.gm@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/ca/1e/b453543084b9b19025b75691605114683f8bdec4047852d621c898979808/pycomplexheatmap-1.7.6.tar.gz",
    "platform": null,
    "description": "# PyComplexHeatmap [![Downloads](https://static.pepy.tech/personalized-badge/pycomplexheatmap?period=total&units=international_system&left_color=blue&right_color=black&left_text=Downloads)](https://pepy.tech/project/pycomplexheatmap) [![Downloads](https://static.pepy.tech/personalized-badge/pycomplexheatmap?period=month&units=international_system&left_color=green&right_color=orange&left_text=Last%20Month)](https://pepy.tech/project/pycomplexheatmap) [![Downloads](https://static.pepy.tech/personalized-badge/pycomplexheatmap?period=week&units=international_system&left_color=red&right_color=brightgreen&left_text=This%20week)](https://pepy.tech/project/pycomplexheatmap)\nPyComplexHeatmap is a Python package to plot complex heatmap (clustermap). Please click [here](https://dingwb.github.io/PyComplexHeatmap) for documentation.\n\n## Documentation:\n----------------------\n[https://dingwb.github.io/PyComplexHeatmap](https://dingwb.github.io/PyComplexHeatmap)\n<br><br>\n[PYPI](https://pypi.org/project/PyComplexHeatmap/)\n<br>\n\n### Wiki\n[wiki/layout](../../wiki/Layout/)\n<br>\n[wiki/Parameters](../../wiki/Parameters/)\n<br>\n[wiki/Features](../../wiki/Features/)\n\n## Dependencies:\n----------------------\n- matplotlib>=3.3.1\n- numpy\n- pandas\n- scipy\n- fastcluster\n```\npip install --ignore-install matplotlib numpy pandas fastcluster\n```\n\n## Citation\nDing, W., Goldberg, D. and Zhou, W. (2023), PyComplexHeatmap: A Python package to visualize multimodal genomics data. iMeta e115. https://doi.org/10.1002/imt2.115\n<br>\n**DOI**: [10.1002/imt2.115](https://onlinelibrary.wiley.com/doi/10.1002/imt2.115)\n<br>\n**PMID**: [38454967](https://pubmed.ncbi.nlm.nih.gov/38454967/)\n\n## **Installation**\n----------------------\n1. **Install using pip**:\n```shell\npip install PyComplexHeatmap\n\n#upgrade from older version\npip install --upgrade PyComplexHeatmap\n```\n\n2. **Install the developmental version directly from github**:\n```shell\npip install git+https://github.com/DingWB/PyComplexHeatmap\n# reinstall\npip uninstall -y PyComplexHeatmap && pip install git+https://github.com/DingWB/PyComplexHeatmap\n```\nOR\n```shell\ngit clone https://github.com/DingWB/PyComplexHeatmap\ncd PyComplexHeatmap\npython setup.py install\n```\n\n## [**Usage**](https://dingwb.github.io/PyComplexHeatmap)\n----------------------\n### [Simple Guide To Get started](https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/get_started.html)\n### Example output\nClick picture to view the source code\n\n<table>\n    <tr style=\"height: 500px\">\n        <td style=\"width:33%; background-color:white;text-align:center; vertical-align:middle\">\n            <a href=\"https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/kwargs.html#Control-gap-&-pad-in-heatmap\">\n                <img src=\"docs/images/gallery1.png\" title=\"kwargs, gap and pad\" align=\"center\" width=\"250px\">\n            </a>\n        </td>\n        <td style=\"width:33%; background-color:white;text-align:center; vertical-align:middle\">\n            <a href=\"https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/kwargs.html#Modifying-xlabel-and-ylabel-using-xlabel_kws-and-ylabel_kws\">\n                <img src=\"docs/images/gallery11.png\" title=\"Modify labels\" align=\"center\" width=\"250px\">\n            </a>\n        </td>\n        <td style=\"width:33%; background-color:white;text-align:center; vertical-align:middle\">\n            <a href=\"https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/composite_heatmaps.html#Composite-two-heatmaps-horizontally-for-mouse-DNA-methylation-array-dataset\">\n                <img src=\"docs/images/gallery3.jpg\" title=\"Combine two heatmap horizontally\" align=\"center\" width=\"250px\">\n            </a>\n        </td>\n    </tr>\n    <tr style=\"height: 500px\">\n        <td style=\"width:33%; background-color:white;text-align:center; vertical-align:middle\">\n            <a href=\"https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/advanced_usage.html#Only-plot-the-annotations\">\n                <img src=\"docs/images/gallery5.png\" title=\"Only plot annotations\" align=\"center\" width=\"250px\">\n            </a>\n        </td>\n        <td style=\"width:33%; background-color:white;text-align:center; vertical-align:middle\">\n            <a href=\"https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/advanced_usage.html#Cluster-between-groups-and-cluster-within-groups\">\n                <img src=\"docs/images/gallery6.png\" title=\"Cluster between groups\" align=\"center\" width=\"250px\">\n            </a>\n        </td>\n        <td style=\"width:33%; background-color:white;text-align:center; vertical-align:middle\">\n            <a href=\"https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/single_cell_methylation.html\">\n                <img src=\"docs/images/gallery9.png\" title=\"DNA methylation cell type specific signatures\" align=\"center\" width=\"250px\">\n            </a>\n        </td>\n    </tr>\n    <tr style=\"height: 500px\">\n        <td style=\"width:33%; background-color:white;text-align:center; vertical-align:middle\">\n            <a href=\"https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/oncoPrint.html\">\n                <img src=\"docs/images/gallery8.png\" title=\"OncoPrint with columns split\" align=\"center\" width=\"250px\">\n            </a>\n        </td>\n        <td style=\"width:33%; background-color:white;text-align:center; vertical-align:middle\">\n            <a href=\"https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/dotHeatmap.html#Visualize-up-to-five-dimension-data-using-DotClustermapPlotter\">\n                <img src=\"docs/images/gallery7.png\" title=\"Dot clustermap to show enrichment result\" align=\"center\" width=\"250px\">\n            </a>\n        </td>\n        <td style=\"width:33%; background-color:white;text-align:center; vertical-align:middle\">\n            <a href=\"https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/oncoPrint2.html\">\n                <img src=\"docs/images/gallery4.png\" title=\"Visualizing categorical variables using oncoPrint\" align=\"center\" width=\"250px\">\n            </a>\n        </td>\n    </tr>\n    <tr style=\"height: 500px\">\n        <td style=\"width:33%; background-color:white;text-align:center; vertical-align:middle\">\n            <a href=\"https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/cpg_modules.html#Plotting-the-Dot-clustermap\">\n                <img src=\"docs/images/gallery2.png\" title=\"Dot clustermap with annotations\" align=\"center\" width=\"250px\">\n            </a>\n        </td>\n        <td style=\"width:33%; background-color:white;text-align:center; vertical-align:middle\">\n            <a href=\"https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/advanced_usage.html#Custom-annotation\">\n                <img src=\"docs/images/gallery10.png\" title=\"Custom annotation\" align=\"center\" width=\"250px\">\n            </a>\n        </td>\n        <td style=\"width:33%; background-color:white;text-align:center; vertical-align:middle\">\n            <a href=\"https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/gene_enrichment_analysis.html#Plot\">\n                <img src=\"docs/images/gallery12.png\" title=\"Plot only the annotation with different orientations\" align=\"center\" width=\"250px\">\n            </a>\n        </td>\n    </tr>\n</table>\n\n### [Advanced Usage](https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/advanced_usage.html)\n\n### [Kwargs](https://dingwb.github.io/PyComplexHeatmap/build/html/kwargs.html)\n\n## **More Examples**\n[https://dingwb.github.io/PyComplexHeatmap/build/html/more_examples.html](https://dingwb.github.io/PyComplexHeatmap/build/html/more_examples.html)\n\n## Call for Contributions\n----------------------\n\nThe PyComplexHeatmap project welcomes your expertise and enthusiasm!\n\nSmall improvements or fixes are always appreciated. If you are considering larger contributions\nto the source code, please contact us (ding.wu.bin.gm@gmail.com).\n\nWriting code isn\u2019t the only way to contribute to PyComplexHeatmap. You can also:\n- review pull requests\n- help us stay on top of new and old issues\n- develop tutorials, presentations, and other educational materials\n- maintain and improve [our website](https://dingwb.github.io/PyComplexHeatmap)\n- develop graphic design for our brand assets and promotional materials\n- translate website content\n- help with outreach and onboard new contributors\n- put forward some new ideas about update.\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2023 Wubin Ding  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "A python package to plot complex heatmap",
    "version": "1.7.6",
    "project_urls": {
        "Bug Tracker": "https://github.com/DingWB/PyComplexHeatmap/issues",
        "Homepage": "https://github.com/DingWB/PyComplexHeatmap",
        "documentation": "https://dingwb.github.io/PyComplexHeatmap",
        "repository": "https://github.com/DingWB/PyComplexHeatmap"
    },
    "split_keywords": [
        "complexheatmap",
        " heatmap"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d0e850334591054348b3e73d42d6209214b5b2e7a270c12a41aa7b039498ec12",
                "md5": "f5c39da728c9e2503d2cb24d8ae8ddc8",
                "sha256": "77c8cd8c3f85d3a0a0f67bf166a752348da4b0c96a17212eab34790f64122d36"
            },
            "downloads": -1,
            "filename": "PyComplexHeatmap-1.7.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f5c39da728c9e2503d2cb24d8ae8ddc8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.0",
            "size": 61661,
            "upload_time": "2024-08-01T19:10:09",
            "upload_time_iso_8601": "2024-08-01T19:10:09.017360Z",
            "url": "https://files.pythonhosted.org/packages/d0/e8/50334591054348b3e73d42d6209214b5b2e7a270c12a41aa7b039498ec12/PyComplexHeatmap-1.7.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ca1eb453543084b9b19025b75691605114683f8bdec4047852d621c898979808",
                "md5": "5f186dcbf5698dc79ed2bde418040bdf",
                "sha256": "1645e8e7e48ecf07b25789fffea0f2d258be4003d4653d868b0fe8235213a7b8"
            },
            "downloads": -1,
            "filename": "pycomplexheatmap-1.7.6.tar.gz",
            "has_sig": false,
            "md5_digest": "5f186dcbf5698dc79ed2bde418040bdf",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.0",
            "size": 8734195,
            "upload_time": "2024-08-01T19:10:11",
            "upload_time_iso_8601": "2024-08-01T19:10:11.457935Z",
            "url": "https://files.pythonhosted.org/packages/ca/1e/b453543084b9b19025b75691605114683f8bdec4047852d621c898979808/pycomplexheatmap-1.7.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-01 19:10:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "DingWB",
    "github_project": "PyComplexHeatmap",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pycomplexheatmap"
}
        
Elapsed time: 4.64568s