ZPRIMEQualControl: Computing the Z' factor

Description Usage Arguments Value References Examples

View source: R/quality_control.R

Description

Computes the Z' factor per plate for a complete dataset file and plots the results.

Usage

1
ZPRIMEQualControl(header, data, channel, plotTitle, showPlot)

Arguments

header

the header of a dataset file generated with generateDatasetFile

data

an R data frame generated with generateDatasetFile

channel

a character string specifying the name of the column containing the values for computing the Z' factor, e.g. "SigIntensity"

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

Returns the Z' values in the shell for each plate and saves them in a text file. The name of the text file will be the concatenation of the experiment name specified in the header and the character string "Z'Scores.txt".

Shows a plot of the Z' factor values and saves it as a png and a pdf file under the experiment name specified in the header concatenated with the function argument plotTitle.

The function returns a list containing:

plotName

the plot name

ZPrimeTabelle

table containing the Z' values

References

J. Zhang, T. Chung, and K. Oldenburg. A simple statistical parameter for use in evaluation and validation of high throughput screening assays. J Biomol Screen, 4:67-73, 1999.

Examples

1
2
3
4
5
6
data(exampleHeader, package="RNAither")
data(exampleDataset, package="RNAither")

res <- ZPRIMEQualControl(header, dataset, "SigIntensity", "Z' factors per plate", 1)
zprime_plot <- res[[1]]
zprime_table <- res[[2]]

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