readHeinzTree: Convert HEINZ output to tree

Description Usage Arguments Value Author(s) Examples

Description

Converts the HEINZ output to a tree in graph format. If the output is in matrix form, it will create a list of graphs. The function needs the node and edge file and the original network from which the module is calculated.

Usage

1
readHeinzTree(node.file, edge.file, network, format=c("graphNEL", "igraph"))

Arguments

node.file

Heinz node output file.

edge.file

Heinz edge output file.

network

Original network from which Heinz input was created.

format

Output format of the graph, either igraph or graphNEL.

Value

A graph object.

Author(s)

Daniela Beisser

Examples

1
2
3
4
5
6
7
8
library(DLBCL)
data(interactome)
# precomputed Heinz output files
## Not run: lib <- file.path(.path.package("BioNet"), "extdata") 
module <- readHeinzTree(node.file=file.path(lib, "lymphoma_nodes_001.txt.0.hnz"), edge.file=file.path(lib, "lymphoma_edges_001.txt.0.hnz"), network=interactome, format="graphNEL");
plotModule(module);

## End(Not run)


Search within the BioNet package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

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

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