Skip to main content

Hetnets in Python

Project description

Hetnets in Python
=================

`|Latest DOI| <https://zenodo.org/badge/latestdoi/14475/dhimmel/hetio>`_
`|GitHub issues| <https://github.com/dhimmel/hetio/issues>`_ `|Build
Status| <https://travis-ci.org/dhimmel/hetio>`_

Background
----------

**Hetnets**: Hetnets, also
`called <https://doi.org/10.15363/thinklab.d104>`_ *heterogeneous
information networks*, are graphs with multiple node and edge types.
Hetnets are both multipartite and multirelational. They provide a
scalable, intuitive, and frictionless structure for data integration.

**Purpose**: This package provides data structures for hetnets and
algorithms for `edge prediction <http://het.io/hnep/>`_. It only
supports hetnets, which is its primary advantage compared to other
network software. Node/edge attributes and edge directionality are
supported.

**Impetus**: Development originated with a
`study <https://doi.org/10.1371/journal.pcbi.1004259>`_ to predict
disease-associated genes and continues with a successive
`study <https://doi.org/10.15363/thinklab.4>`_ to repurpose drugs.

**Caution**: Documentation is currently lacking, testing coverage is
poor, and the API is unstable. Contributions are welcome. Please use
`GitHub Issues <https://github.com/dhimmel/hetio/issues>`_ for feedback,
questions, or troubleshooting.

Installation
------------

`|PyPI| <https://pypi-hypernode.com/pypi/hetio>`_

Please use Python 3.4 or higher. To install the current PyPI version
(recommended), run:

::

pip install hetio

For the latest GitHub version, run:

::

pip install git+https://github.com/dhimmel/hetio.git#egg=hetio

For development, clone or download-and-extract the repository. Then run
``pip install -e .`` from the repository's root directory. The ``-e``
flag specifies
`editable <https://pythonhosted.org/setuptools/setuptools.html#development-mode>`_
mode, so updating the source updates your installation.

Once installed, tests can be executed by running ``py.test test/`` from
the repository's root directory.

Design
------

A Graph object stores a heterogeneous network and relies on the
following classes:

1. Graph
2. MetaGraph
3. Edge
4. MetaEdge

.. |Latest DOI| image:: https://zenodo.org/badge/14475/dhimmel/hetio.svg
.. |GitHub
issues| image:: https://img.shields.io/github/issues/dhimmel/hetio.svg
.. |Build
Status| image:: https://travis-ci.org/dhimmel/hetio.svg?branch=master
.. |PyPI| image:: https://img.shields.io/pypi/v/hetio.svg

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hetio-0.2.2.tar.gz (17.2 kB view details)

Uploaded Source

Built Distributions

hetio-0.2.2-py3.6.egg (47.0 kB view details)

Uploaded Source

hetio-0.2.2-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

Details for the file hetio-0.2.2.tar.gz.

File metadata

  • Download URL: hetio-0.2.2.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hetio-0.2.2.tar.gz
Algorithm Hash digest
SHA256 53796fe1baa2d708ba6b555da7c7a4b6580d14126c6ba9356996bf10f472cb21
MD5 8b188c1eaa17759f57f029781d98ee46
BLAKE2b-256 103806d375f9edc3d81e18f4f01a6381843819f29f0c25079d5cf75e697d50e2

See more details on using hashes here.

File details

Details for the file hetio-0.2.2-py3.6.egg.

File metadata

  • Download URL: hetio-0.2.2-py3.6.egg
  • Upload date:
  • Size: 47.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hetio-0.2.2-py3.6.egg
Algorithm Hash digest
SHA256 d97401fe2a90c11ace0f77811a348ec0a3d3ef74a417cbbf05ef0188dcada7b8
MD5 b28e5aa06e42ac5273303d0ae0fd21d9
BLAKE2b-256 15aad98487b7a468100e26be906cdde6556762b865a318419ea6254da260d5ec

See more details on using hashes here.

File details

Details for the file hetio-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for hetio-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1137508f1285720597f41396329aeae444ad0d80fddcdb6aed7371448b211335
MD5 9debb6c169fad9c1ed91e72854417910
BLAKE2b-256 6c6382d14a8086facb46f68bbf53659ee6de5e312f11579efd8d11a223dfe6fc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page