Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified HotNet2.py
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ See [`paper/paper_commands.sh`](https://github.com/raphael-group/hotnet2/blob/ma

After generating a heat file and the network files using the scripts above, use the `HotNet2.py` script to run HotNet2. The minimum arguments required for `HotNet2.py` are as follows:

python HotNet2.py -nf <network_file> -pnp <permuted_networks_path> -hf <heat_file> -o <output_directory>
./HotNet2.py -nf <network_file> -pnp <permuted_networks_path> -hf <heat_file> -o <output_directory>

See [`paper/paper_commands.sh`](https://github.com/raphael-group/hotnet2/blob/master/paper/paper_commands.sh) for an example of using the `HotNet2.py` scripts with outputs of the `makeHeatFile.py` and `makeNetworkFiles.py` scripts.

Expand Down
2 changes: 2 additions & 0 deletions makeHeatFile.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env python

import argparse
import json
import sys
Expand Down
2 changes: 1 addition & 1 deletion makeNetworkFiles.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python

# Load required modules
import os, sys, multiprocessing as mp
Expand Down
2 changes: 1 addition & 1 deletion scripts/createDendrogram.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python

# Load the required modules
import sys, os, json, pickle, os.path, scipy.io
Expand Down
2 changes: 1 addition & 1 deletion scripts/createInfluenceMatrix.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python

# Load required modules
import sys, os, numpy as np, networkx as nx, scipy as sp, scipy.io
Expand Down
2 changes: 1 addition & 1 deletion scripts/permuteNetwork.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python

# Load required modules
import sys, os, networkx as nx, multiprocessing as mp
Expand Down