Skip to main content

Compute diffusion scores over networks

Project description

DiffuPy is a generalizable Python implementation of the numerous label propagation algorithms inspired by the diffuStats R package [1].

Installation

  1. diffupy can be installed with the following commands:

$ python3 -m pip install git+https://github.com/multipaths/DiffuPy.git@master
  1. or in editable mode with:

$ git clone https://github.com/multipaths/DiffuPy.git
$ cd diffupy
$ python3 -m pip install -e .

Command Line Interface

The following commands can be used directly use from your terminal:

1. Run a diffusion analysis The following command will run a diffusion method on a given network with the given data

$ python3 -m diffupy diffuse --network=<path-to-network-file> --input=<path-to-data-file> --method=<method>

2. Generate a kernel with one of the seven methods implemented Generates the regularised Laplian kernel of a given graph.

$ python3 -m diffupy kernel --network=<path-to-network-file>

References

Disclaimer

DiffuPy is a scientific software that has been developed in an academic capacity, and thus comes with no warranty or guarantee of maintenance, support, or back-up of data.

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

diffupy-0.0.1.tar.gz (429.7 kB view details)

Uploaded Source

File details

Details for the file diffupy-0.0.1.tar.gz.

File metadata

  • Download URL: diffupy-0.0.1.tar.gz
  • Upload date:
  • Size: 429.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.5

File hashes

Hashes for diffupy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6dc42fde72dc48fb026700a5ebd2306dd4aaa1fb1f45f505b5f86b167d786010
MD5 091598a461fc765d0b24f429585e83e5
BLAKE2b-256 925d2736cc734659ffbcb67e34ffb0b9d9c7b8bba0a9dc598779d7a8ec3e1e5b

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