Description Usage Arguments Value Examples
View source: R/quality_control.R
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.
1 | SNRQualControl(dataSetFile, nbLinesHeader, channel, noise, plotTitle, showPlot)
|
dataSetFile |
a dataset file generated with |
nbLinesHeader |
typically 3 |
channel |
a character string specifying the name of the column containing the values for computing the SNR, e.g. |
noise |
A character string specifying the name of the column containing the values for computing the SNR, e.g. |
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
.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.