CreateRandomGraph {epiNEM} | 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"))