# add noise to the data contained in a CNOlist.

### Description

This function takes in a CNOlist and does the normalisation of the data between 0 and 1, according to two different procedures (see details).

### Usage

1 |

### Arguments

`cnolist` |
a CNOlist |

`sd` |
standard deviation to be used when adding gaussian noise. Not used if mode is uniform. |

`minValue` |
When adding Gaussian noise, the result may be below the minValue(default 0). If so, the value is set to minValue. |

`maxValue` |
When adding Gaussian noise, the result may be above the maxValue(default 1). If so, the value is set to maxValue. |

`mode` |
The mode can be either 'gaussian', 'shuffle' or uniform'. In gaussian mode, a gaussian noise is added to the data. The mean parameter is the data and the standard deviation is defined by the sd parameter. In uniform mode, the data is simply replaced by values taken from a uniform distribution between 0 and 1. In 'shuffle' mode all rows and columns are shuffled. |

### Value

a noisy CNOlist

### Author(s)

T. Cokelaer

### Examples

1 2 3 4 5 6 |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.