CreateRandomGraph {epiNEM} | R Documentation

## Create a random graph

### Description

Returns a model graph with randomly sampled edges. Every possible edge has a probability to exist in the graph.

### Usage

    CreateRandomGraph(pathwayGenes, edgeProb = 0.5)

### Arguments

`pathwayGenes` | vector of genes in the pathway
`edgeProb` | probability of random edge

### Value

adjacency matrix

### Examples

    graph <- CreateRandomGraph(c("Ikk1", "Ikk2", "RelA"))

[Package epiNEM version 1.11.11 Index]