addNoise: Add noise to a binary matrix

Description Usage Arguments Details Value Author(s)

Description

addNoise adds binomially sampled noise to a binary matrix, with success probability epsilon.

Usage

1
addNoise(mat, epsilon)

Arguments

mat

binary input matrix, with rows representing samples and columns representing genes

epsilon

the error rate at the level of genes, real number between 0 and 1

Details

Any binary matrix can be used as input.

Value

The input binary matrix with added noise.

Author(s)

Simona Constantinescu, simona.constantinescu@bsse.ethz.ch


cbg-ethz/pathTiMEx documentation built on May 13, 2019, 2:03 p.m.