createRegulatoryNetwork: Creates an in silico regulatory network.

Description Usage Arguments Value Examples

View source: R/in_silico_system.R

Description

Creates an in silico regulatory network given a list of regulators and targets.

Usage

1
2
3
4
5
6
7
createRegulatoryNetwork(
  regsList,
  tarsList,
  reaction,
  sysargs,
  ev = getJuliaEvaluator()
)

Arguments

regsList

A named list of length 2. Element "PC" (resp."NC") is a vector of gene IDs of the protein-coding (resp. noncoding) regulators for the network.

tarsList

A named list of length 2. Element "PC" (resp."NC") is a vector of gene IDs of the potential targets of the protein-coding (resp. noncoding) regulators.

reaction

String. The ID of the reaction targeted by the interactions ("TC", "TL", "RD", "PD" or "PTM").

sysargs

An object of class insilicosystemargs (i.e. a list with parameters for in silico system generation).

ev

A Julia evaluator (for the XRJulia package). If none provided select the current evaluator or create one if no evaluator exists.

Value

A list of two elements:

Examples

1
2
3
4
5
6
7
## We want to create a small transcription regulatory network
## In this example, genes 1 and 2 are protein-coding regulators (say transcription factors),
## gene 3 is a noncoding regulator (say an miRNA), and genes 4-6 are the genes to be regulated
## (all protein-coding, e.g. all encoding enzymes)
createRegulatoryNetwork(regsList = list("PC" = c(1:2), "NC" = c(3)),
     tarsList = list("PC" = c(4:6), "NC" = integer(0)), reaction = "TC",
     sysargs = insilicosystemargs(G = 6))

sismonr documentation built on Feb. 11, 2020, 9:07 a.m.