net_noise: This function takes a network and either adds or deletes a...

View source: R/noise.R

net_noiseR Documentation

This function takes a network and either adds or deletes a percentage of edges randomly

Description

This function takes a network and either adds or deletes a percentage of edges randomly

Usage

net_noise(
  network,
  mode = "add",
  perc = 0.1,
  source = "source",
  target = "target",
  seed = 42
)

Arguments

network

Network to modify.

mode

Whether to add ('add') or delete ('del') edges.

perc

Percentage of edges to modify per regulon.

source

Network's source column.

target

Network's target genes column.

seed

An integer to set the RNG state for random number generation. Use NULL for random number generation.

Value

Modified network.


saezlab/decoupleRBench documentation built on March 20, 2022, 3:02 p.m.