Skip to main content

Hetnets in Python

Project description

Latest DOI
GitHub issues
Build Status

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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hetio-0.2.3.tar.gz
Algorithm Hash digest
SHA256 270bf646c79a2e15cc3269c913915b707efd99bcae232153092ed4f6b009d01f
MD5 fffc8641145ae44e33406db4ebb1ff8e
BLAKE2b-256 98a4ab8c65990112f45d9875ee89e2a23dbf9b0dc65c5e1381418f91fb1a178e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for hetio-0.2.3-py3.6.egg
Algorithm Hash digest
SHA256 ed2947d7659087e4001d98da1af68b8752de4390babb3ded4512467ea3f86ca7
MD5 1133f5fdeceba12c4931bb43f6382ac8
BLAKE2b-256 165cc731450011aa54ed9d5be7f0d176481770d5186a99c6acf8493187bdb3f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hetio-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c7e6b3883d5960b3b5559de5e83d5699355e9f3416b372e7b660cff489abd9b9
MD5 5c5350e8d4016a0a22fbccced4a9d9f1
BLAKE2b-256 59e48a82049bfd754a39f5dd2a41e22b474fddd172d2cc3df5beff430788897b

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