An open API service indexing awesome lists of open source software.

https://github.com/npalacioescat/data_tools

Collection of Python functions and classes designed to make data scientists' life easier.
https://github.com/npalacioescat/data_tools

data-science database model plot python set

Last synced: about 1 year ago
JSON representation

Collection of Python functions and classes designed to make data scientists' life easier.

Awesome Lists containing this project

README

          

# data_tools

[![Python version supported](https://img.shields.io/badge/python-2.7%20%7C%203.7-blue.svg)](https://www.python.org/)
[![GitHub release](https://img.shields.io/github/tag/Nic-Nic/data_tools.svg?color=blue)](https://github.com/Nic-Nic/data_tools/releases)
[![Build Status](https://travis-ci.com/Nic-Nic/data_tools.svg?branch=master)](https://travis-ci.com/Nic-Nic/data_tools)
[![Issues](https://img.shields.io/github/issues/Nic-Nic/data_tools.svg)](https://github.com/Nic-Nic/data_tools/issues)
[![Pull requests](https://img.shields.io/github/issues-pr/Nic-Nic/data_tools.svg)](https://github.com/Nic-Nic/data_tools/pulls)
[![Website status](https://img.shields.io/website/https/nic-nic.github.io/data_tools/html/index.html.svg?down_color=red&down_message=offline&up_message=online)](https://nic-nic.github.io/data_tools/html/index.html)
[![License](https://img.shields.io/github/license/Nic-Nic/data_tools.svg?color=blue)](LICENSE.md)

Data tools: a collection of Python functions and classes designed to
make data scientists' life easier.

Copyright (C) 2020 Nicolàs Palacio-Escat

Contact: [nicolas.palacio@bioquant.uni-heidelberg.de](mailto:nicolas.palacio@bioquant.uni-heidelberg.de)

## Disclaimer

This package is still under development and will be periodically updated
with new features. Contributions are very welcome (fork + pull request).
If you find any bug or suggestion for upgrades, please use the [issue
system](https://github.com/Nic-Nic/data_tools/issues).

GNU-GLPv3:
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.

A full copy of the GNU General Public License can be found on file
[LICENSE.md](LICENSE.md). If not, see .

## Contents

- [databases](https://nic-nic.github.io/data_tools/html/databases.html)
- [kegg_link](https://nic-nic.github.io/data_tools/html/databases.html#data_tools.databases.kegg_link)
- [kegg_pathway_mapping](https://nic-nic.github.io/data_tools/html/databases.html#data_tools.databases.kegg_pathway_mapping)
- [op_kinase_substrate](https://nic-nic.github.io/data_tools/html/databases.html#data_tools.databases.op_kinase_substrate)
- [up_map](https://nic-nic.github.io/data_tools/html/databases.html#data_tools.databases.up_map)
- [diffusion](https://nic-nic.github.io/data_tools/html/diffusion.html)
- [build_mat](https://nic-nic.github.io/data_tools/html/diffusion.html#data_tools.diffusion.build_mat)
- [coef_mat_hetero](https://nic-nic.github.io/data_tools/html/diffusion.html#data_tools.diffusion.coef_mat_hetero)
- [iterables](https://nic-nic.github.io/data_tools/html/iterables.html)
- [bit_or](https://nic-nic.github.io/data_tools/html/iterables.html#data_tools.iterables.bit_or)
- [chunk_this](https://nic-nic.github.io/data_tools/html/iterables.html#data_tools.iterables.chunk_this)
- [find_min](https://nic-nic.github.io/data_tools/html/iterables.html#data_tools.iterables.find_min)
- [in_all](https://nic-nic.github.io/data_tools/html/iterables.html#data_tools.iterables.in_all)
- [similarity](https://nic-nic.github.io/data_tools/html/iterables.html#data_tools.iterables.similarity)
- [subsets](https://nic-nic.github.io/data_tools/html/iterables.html#data_tools.iterables.subsets)
- [unzip_dicts](https://nic-nic.github.io/data_tools/html/iterables.html#data_tools.iterables.unzip_dicts)
- [models](https://nic-nic.github.io/data_tools/html/models.html)
- [DoseResponse](https://nic-nic.github.io/data_tools/html/models.html#data_tools.models.DoseResponse)
- [Lasso](https://nic-nic.github.io/data_tools/html/models.html#data_tools.models.Lasso)
- [Linear](https://nic-nic.github.io/data_tools/html/models.html#data_tools.models.Linear)
- [PowerLaw](https://nic-nic.github.io/data_tools/html/models.html#data_tools.models.PowerLaw)
- [plots](https://nic-nic.github.io/data_tools/html/plots.html)
- [cmap_bkgr](https://nic-nic.github.io/data_tools/html/plots.html#data_tools.plots.cmap_bkgr)
- [cmap_bkrd](https://nic-nic.github.io/data_tools/html/plots.html#data_tools.plots.cmap_bkrd)
- [cmap_rdbkgr](https://nic-nic.github.io/data_tools/html/plots.html#data_tools.plots.cmap_rdbkgr)
- [chordplot](https://nic-nic.github.io/data_tools/html/plots.html#data_tools.plots.chordplot)
- [cluster_hmap](https://nic-nic.github.io/data_tools/html/plots.html#data_tools.plots.cluster_hmap)
- [density](https://nic-nic.github.io/data_tools/html/plots.html#data_tools.plots.density)
- [pca](https://nic-nic.github.io/data_tools/html/plots.html#data_tools.plots.pca)
- [phase_portrait](https://nic-nic.github.io/data_tools/html/plots.html#data_tools.plots.phase_portrait)
- [piano_consensus](https://nic-nic.github.io/data_tools/html/plots.html#data_tools.plots.piano_consensus)
- [similarity_heatmap](https://nic-nic.github.io/data_tools/html/plots.html#data_tools.plots.similarity_heatmap)
- [similarity_histogram](https://nic-nic.github.io/data_tools/html/plots.html#data_tools.plots.similarity_histogram)
- [upset_wrap](https://nic-nic.github.io/data_tools/html/plots.html#data_tools.plots.upset_wrap)
- [venn](https://nic-nic.github.io/data_tools/html/plots.html#data_tools.plots.venn)
- [volcano](https://nic-nic.github.io/data_tools/html/plots.html#data_tools.plots.volcano)
- [signal](https://nic-nic.github.io/data_tools/html/signal.html)
- [fconvolve](https://nic-nic.github.io/data_tools/html/signal.html#data_tools.signal.fconvolve)
- [gauss_kernel](https://nic-nic.github.io/data_tools/html/signal.html#data_tools.signal.gauss_kernel)
- [gauss_noise](https://nic-nic.github.io/data_tools/html/signal.html#data_tools.signal.gauss_noise)
- [spatial](https://nic-nic.github.io/data_tools/html/spatial.html)
- [equidist_polar](https://nic-nic.github.io/data_tools/html/spatial.html#data_tools.spatial.equidist_polar)
- [get_boundaries](https://nic-nic.github.io/data_tools/html/spatial.html#data_tools.spatial.get_boundaries)
- [neighbour_count](https://nic-nic.github.io/data_tools/html/spatial.html#data_tools.spatial.neighbour_count)
- [strings](https://nic-nic.github.io/data_tools/html/strings.html)
- [is_numeric](https://nic-nic.github.io/data_tools/html/strings.html#data_tools.strings.is_numeric)
- [join_str_lists](https://nic-nic.github.io/data_tools/html/strings.html#data_tools.strings.join_str_lists)

## Dependencies

- [NumPy](http://www.numpy.org/)
- [Matplotlib](https://matplotlib.org/)
- [Pandas](https://pandas.pydata.org/)
- [SciPy](https://www.scipy.org/)
- [Scikit-learn](http://scikit-learn.org/stable/index.html)
- [UpSetPlot](https://github.com/jnothman/UpSetPlot)
- [adjustText](https://github.com/Phlya/adjustText)
- [certifi](https://github.com/certifi/python-certifi)

## Installation

### Fast way with pip

If you have `pip`, just type on the terminal:

```bash
pip install git+https://github.com/Nic-Nic/data_tools.git
```

### By cloning the git repository

First download/clone `data_tools` from the [GitHub repository](https://github.com/Nic-Nic/data_tools.git).
From the terminal:

```bash
git clone https://github.com/Nic-Nic/data_tools.git
cd data_tools
```

Then you can install it by running `setup.py` as follows:

```bash
python setup.py sdist
```

Or using `pip`:

```bash
pip install .
```

### Testing the module

Along with `data_tools`, all dependencies will be installed as well as
the testing suite. In order to run the tests, type on the terminal:

```bash
python -m test_data_tools
```

**NOTE:** `data_tools.plots` module does not have any tests implemented.

## Documentation

You can find a detailed description of the modules and functions within
this package in the [webpage](https://nic-nic.github.io/data_tools/),
also available as a [PDF](/docs/latex/data_tools.pdf).

You can also find the version history in the [changelog](CHANGELOG.md).