SNRQualControl {RNAither} | R Documentation |
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.
SNRQualControl(dataSetFile, nbLinesHeader, channel, noise, plotTitle, showPlot)
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 |
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
.
data(exampleHeader, package="RNAither") data(exampleDataset, package="RNAither") saveDataset(header, dataset, "save_testfile1.txt") SNRQualControl("save_testfile1.txt", 3, "SigIntensity", "Background", "SNR", 1)