addNoise: Add noise

View source: R/bnem_main.r

addNoiseR Documentation

Add noise

Description

Adds noise to simulated data

Usage

addNoise(sim, sd = 1)

Arguments

sim

bnemsim object from simBoolGtn

sd

standard deviation for the rnorm function

Value

noisy fold-change matrix

Author(s)

Martin Pirkl

Examples

sim <- simBoolGtn(Sgenes = 10, maxEdges = 10, negation=0.1,layer=1)
fc <- addNoise(sim,sd=1)

MartinFXP/B-NEM documentation built on Nov. 5, 2024, 11:56 a.m.