Skip to main content

Hetnets in Python

Project description

Latest DOI GitHub issues

Background

Hetnets: Hetnets, also called 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. 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 to predict disease-associated genes and continues with a successive study to repurpose drugs.

Caution: Documentation is currently lacking, testing coverage is poor, and the API is unstable. Contributions are welcome. Please use GitHub Issues for feedback, questions, or troubleshooting.

Installation

PyPI

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 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

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.1.tar.gz (18.2 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for hetio-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5377e9fccf018984107d9b013275d2f115b45e317109821f2dcfb423ad1fae2e
MD5 eb7f4870ef7da7cd4bdb9ee4ac0d77e8
BLAKE2b-256 eb575d31aa0901fc0bf59080f4c89e4dfd98bd131a6080d7f379b4e35ee78703

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