You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Along with the manuscript, this project produced an open-source implementation of our network permutation algorithm.
Available on PyPI as xswap and source on GitHub in hetio/xswap.
Layout
The analyses for this repository are performed by sequentially numbered Jupyter notebooks in the nb directory.
Data is written to the data directory and figures are exported to the img directory.
The analyses depend on the Hetionet HetMat dataset,
which can be downloaded by running the following Python command from this repo's root directory:
This repository uses conda to manage its environment as specified in environment.yml.
Install the environment with:
# install new xswap-analysis environment
conda env create --file=environment.yml
# update existing xswap-analysis environment
conda env update --file=environment.yml
# export the locked environment specification, which lists every package# installed in the environment including implicit dependencies.# Includes build numbers and is operating system specific.
conda env export --name=xswap-analysis > environment-lock-linux.yml
Then use conda activate xswap-analysis and conda deactivate to activate or deactivate the environment.
the contents of the data directory are released under CC0 (public domain dedication).
the contents of the img directory are released under CC BY 4.0 (public domain dedication).
For images that are used in the xswap-manuscript,
please attribute this manuscript as the source.