SNRQualControl {RNAither} | R Documentation

## Computing the SNR

### Description

Computes the signal to noise ratio for all data, per experiment and per plate for a complete dataset file and plots histograms of the results.

### Usage

    SNRQualControl(dataSetFile, nbLinesHeader, channel, noise, plotTitle, showPlot)

### Arguments

`dataSetFile` | a dataset file generated with `generateDatasetFile`
`nbLinesHeader` | typically 3
`channel` | a character string specifying the name of the column containing the values for computing the SNR, e.g. `"SigIntensity"`
`noise` | A character string specifying the name of the column containing the values for computing the SNR, e.g. `"Background"`
`plotTitle` | the plot title
`showPlot` | 0 or 1. 1 will open one or several plot windows in the R GUI, 0 will only save the plot(s) without opening windows

### Value

Shows histogram plots of the SNR for the whole dataset file, per experiment and per plate and saves them in a pdf file. The name of the file will be the concatenation of the experiment name specified in the header and the function argument `plotTitle`.

### Examples

    data(exampleHeader, package="RNAither")
    data(exampleDataset, package="RNAither")
    saveDataset(header, dataset, "save_testfile1.txt")

    SNRQualControl("save_testfile1.txt", 3, "SigIntensity", "Background", "SNR", 1)

[Package RNAither version 1.4.2 Index]