View source: R/finalFunctions.R
CreateRandomGraph | R Documentation |
Returns a model graph with randomly sampled edges. Every possible edge has a probability to exist in the graph.
CreateRandomGraph(pathwayGenes, edgeProb = 0.5)
pathwayGenes |
vector of genes in the pathway |
edgeProb |
probability of random edge |
adjacency matrix
graph <- CreateRandomGraph(c("Ikk1", "Ikk2", "RelA"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.