Description Usage Arguments Value Author(s) Examples
View source: R/get_components_PPI.R
Map the edges in the selected sub-network to the background PPI network and get all the clusters with size larger than the minimumset by the user
| 1 | get_components_PPI(gene_names, vector, PPI, minsize)
 | 
| gene_names | The gene names of all the nodes | 
| vector | A binary vector indicating whether each node is selected or not | 
| PPI | A two column matrix including the protein interaction data | 
| minsize | The minimal size of clusters | 
A list with each element corresponding to one cluster in the selected sub-network
Haisu Ma
| 1 2 3 4 5 6 7 | data(scaled_node_score)
data(scaled_edge_score)
data(PPI)
gene_names<-names(scaled_node_score)
vector<-rep(0,length(scaled_node_score))
vector[sample(1:length(scaled_node_score),length(scaled_node_score)/3)]<-1
components<-get_components_PPI(gene_names,vector,PPI,minsize=3)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.