SteinerTree_cons: Steiner tree algorithm.

Description Usage Arguments Value

View source: R/pwOmics_consensus_analysis.R

Description

Use this function to get the Steiner tree based on the STRING protein-protein interaction database.

Usage

1
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.


pwOmics documentation built on Nov. 8, 2020, 4:55 p.m.