runHeinz: Start HEINZ

Description Usage Arguments Details Author(s) References See Also

View source: R/HeinzUtils.R


The function starts HEINZ from command line. The HEINZ folder has to include the python script and the dhea file. CPLEX has to be installed and accessible from the computer R runs on.


runHeinz(heinz.folder="", heinz.e.file, heinz.n.file, N=TRUE, E=FALSE, diff=-1, n=1)



The folder which contains the python script and the dhea file.


The HEINZ edge input file. See writeHeinzEdges


The HEINZ node input file. See writeHeinzNodes


Boolean value, whether to run HEINZ on nodes.


Boolean value, whether to run HEINZ on edges. HEINZ can run on both with N and E set to TRUE.


Difference of suboptimal solutions to optimal solution in haming distance in percent. Parameter is set to -1 for optimal solution.


Number of optimal and suboptimal solutions, the standard n=1 delivers only the optimal solution.


This function starts the integer linear programming algorithm to calculate the optimal scoring subnetwork. The algorithm might be started in the command line when the CPLEX is installed on another machine. To start it from command line use: -e edge.file.txt -n node.file.txt -E False/True -N False/True. The results can be loaded with readHeinzTree, readHeinzGraph as a graph object.


Daniela Beisser


M. T. Dittrich, G. W. Klau, A. Rosenwald, T. Dandekar, T. Mueller (2008) Identifying functional modules in protein-protein interaction networks: an integrated exact approach. (ISMB2008) Bioinformatics, 24: 13. i223-i231 Jul.

See Also

writeHeinzEdges, writeHeinzNodes, readHeinzTree, readHeinzGraph

BioNet documentation built on May 20, 2017, 10:57 p.m.
Search within the BioNet package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.