Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thebooort/recorpy
A python's package for reordering/clustering correlation matrices
https://github.com/thebooort/recorpy
Last synced: 14 days ago
JSON representation
A python's package for reordering/clustering correlation matrices
- Host: GitHub
- URL: https://github.com/thebooort/recorpy
- Owner: thebooort
- License: gpl-3.0
- Created: 2022-06-24T07:26:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-09T22:05:54.000Z (over 2 years ago)
- Last Synced: 2024-03-15T10:49:40.675Z (8 months ago)
- Language: Python
- Size: 85.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Citation: CITATION.cff
Awesome Lists containing this project
README
ReCorPy
> A python's package for reordering/clustering correlation matrices
[![DOI](https://zenodo.org/badge/506917975.svg)](https://zenodo.org/badge/latestdoi/506917975)
[![Documentation Status](https://readthedocs.org/projects/recorpy/badge/?version=latest)](https://recorpy.readthedocs.io/en/latest/?badge=latest)
[![PyPI Version][pypi-image]][pypi-url]
[![Build Status][build-image]][build-url]
[![Coverage Status](https://coveralls.io/repos/github/thebooort/ReCorPy/badge.svg?branch=main)](https://coveralls.io/github/thebooort/ReCorPy?branch=main)`recorpy` reorder correlation matrixes to get better visual analysis. All it is made with the original dataframe. And the result
is a new dataframe with columns reordered, to let you re-use it wherever you want.Input parameters:
- _method_ -
- _model_ - , default:
- _cluster_ - , default:## Installation
```sh
pip install recorpy
```## Usage
```python
>>> df = pd.DataFrame(np.random.rand(3,3))
>>> ReorderCorr(df)
```## Development setup
```sh
$ python3 -m venv env
$ . env/bin/activate
$ make deps
$ tox
```## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Make sure to add or update tests as appropriate.
Use [Black](https://black.readthedocs.io/en/stable/) for code formatting and [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0-beta.4/) for commit messages.
## [Changelog](CHANGELOG.md)
## License
[GPL](https://choosealicense.com/licenses/gpl/)
[pypi-image]: https://img.shields.io/pypi/v/recorpy
[pypi-url]: https://pypi.org/project/recorpy/
[build-image]: https://github.com/thebooort/recorpy/actions/workflows/python-app.yml/badge.svg
[build-url]: https://github.com/thebooort/recorpy/actions/workflows/python-app.yml