RDocumentation
Moon
Learn R
Search all packages and functions
pwOmics (version 1.4.0)
SteinerTree_cons: Steiner tree algorithm.
Description
Use this function to get the Steiner tree based on the STRING protein-protein interaction database.
Usage
SteinerTree_cons(terminal_nodes, PPI_graph, run_times)
Arguments
terminal_nodes
character vector of final nodes used for generation of Steiner tree.
PPI_graph
igraph object; graph should be connected and have undirected edges.
run_times
integer specifying number of times to run SP Steiner tree algorithm to find minimal graph.
Value
igraph object including Steiner tree.