SNRQualControl: Computing the SNR

Description Usage Arguments Value Examples

View source: R/quality_control.R

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

1
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

1
2
3
4
5
data(exampleHeader, package="RNAither")
data(exampleDataset, package="RNAither")
saveDataset(header, dataset, "save_testfile1.txt")

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

RNAither documentation built on Nov. 8, 2020, 8:06 p.m.