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
Copy file name to clipboardExpand all lines: UserGuide.md
+26-23Lines changed: 26 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,9 @@
1
1
## Description
2
-
Forked from [https://github.com/QuackenbushLab/pypanda](https://github.com/QuackenbushLab/pypanda),
3
-
which was based on [https://github.com/davidvi/pypanda](https://github.com/davidvi/pypanda).
4
-
Compared to QuackenbushLab/pypanda this repository adds the Python implementation of PUMA ([run_puma.py](run_puma.py) and [pypanda/puma.py](pypanda/puma.py)).
- which was based on [https://github.com/davidvi/pypanda](https://github.com/davidvi/pypanda).
6
+
- Compared to QuackenbushLab/pypanda this repository adds the Python implementation of PUMA ([run_puma.py](netZooPy/netZooPy/pypuma/run_puma.py) and [netZooPy/netZooPy/pypuma/puma.py](pypanda/puma.py)).
5
7
NaN values in normalized matrices are replaced with values normalized by the overall z-score. This allows running the Toy Data provided in this repository.
6
8
7
9
## Table of Contents
@@ -25,7 +27,8 @@ C and MATLAB code: [https://github.com/mararie/PUMA](https://github.com/mararie/
25
27
_Glass K, Huttenhower C, Quackenbush J, Yuan GC. Passing Messages Between Biological Networks to Refine Predicted Interactions, PLoS One, 2013 May 31;8(5):e64832_
26
28
Original PANDA C++ code: [http://sourceforge.net/projects/panda-net/](http://sourceforge.net/projects/panda-net/).
27
29
28
-
***[LIONESS](https://arxiv.org/abs/1505.06440)** (Linear Interpolation to Obtain Network Estimates for Single Samples)
30
+
***[LIONESS](https://arxiv.org/abs/1505.06440)** (Linear Interpolation to Obtain Network Estimates for Single Samples)
31
+
***[LIONESSR](https://doi.org/10.1016/j.isci.2019.03.02)** The R version
LIONESS can be used to estimate single-sample networks using aggregate networks made with any network reconstruction algorithm (http://arxiv.org/pdf/1505.06440.pdf).
@@ -61,22 +64,22 @@ Hamming distance is calculated every iteration.
61
64
62
65
63
66
## Installation
64
-
PyPanda runs on Python 2.7. You can either run the pypanda script directly (see [Usage](#usage)) or install it on your system. We recommend the following commands to install pypandas on UNIX systems:
67
+
PyPanda runs on Python 3. You can either run the pypanda script directly (see [Usage](#usage)) or install it on your system. We recommend the following commands to install pypandas on UNIX systems:
65
68
#### Using a virtual environment
66
69
Using [python virtual environments](http://docs.python-guide.org/en/latest/dev/virtualenvs/) is the cleanest installation method.
67
70
68
71
Cloning git and setting up a [python virtual environment](http://docs.python-guide.org/en/latest/dev/virtualenvs/):
69
72
```no-highlight
70
73
pip install --user pipenv #Make sure you have pipenv
71
-
git clone https://github.com/aless80/pypanda.git
72
-
cd pypanda
74
+
git clone https://github.com/netZoo/netZooPy.git
75
+
cd netZooPy
73
76
```
74
77
Creating a virtual environment and installing pypanda:
75
78
```no-highlight
76
79
virtualenv pypandaenv #virtual environment created in a folder inside the git folder
#to run from the command line you will need to make pypanda executable and add the bin directory to your PATH:
98
101
cd bin
99
102
chmod +x pypanda
@@ -104,11 +107,11 @@ source ~/.bashrc
104
107
```no-highlight
105
108
pip uninstall pypanda
106
109
```
107
-
To run pypanda from Windows (tested on Windows 10) install Git (https://git-scm.com/downloads) and Anaconda Python2.7 (https://www.continuum.io/downloads) and from the Anaconda prompt run:
110
+
To run pypanda from Windows (tested on Windows 10) install Git (https://git-scm.com/downloads) and Anaconda Python3 (https://www.continuum.io/downloads) and from the Anaconda prompt run:
0 commit comments