CreateRandomGraph: Create a random graph

Description Usage Arguments Value Examples

View source: R/finalFunctions.R

Description

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

Usage

1
CreateRandomGraph(pathwayGenes, edgeProb = 0.5)

Arguments

pathwayGenes

vector of genes in the pathway

edgeProb

probability of random edge

Value

adjacency matrix

Examples

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

epiNEM documentation built on Nov. 8, 2020, 6:51 p.m.