Learn R Programming

RNAither (version 2.20.0)

plotQQperscreen: Make a QQ plot per experiment

Description

Shows and saves a QQ plot of the data for each experiment in the dataset.

Usage

plotQQperscreen(header, dataset, channel, plotTitle, plotDesign, showPlot)

Arguments

header
the header of a dataset file generated with generateDatasetFile
dataset
an R data frame generated with generateDatasetFile
channel
a character string specifying the name of the column containing the values to be plotted, e.g. "SigIntensity"
plotTitle
the plot title
plotDesign
1 or 2. 1 will generate one window containing all plots, 2 will generate a series of plots.
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

Saves the QQ plots in a pdf and a png file named after the experiment name specified in the header concatenated with the plotTitle.The function returns a list containing:
histoName
the plotname
minOfScreens
the number of the first experiment
numOfScreens
the number of the last experiment

See Also

plotQQ, plotQQperplate

Examples

Run this code
data(exampleHeader, package="RNAither")
data(exampleDataset, package="RNAither")

plotQQperscreen(header, dataset, "SigIntensity", "QQplot", 1, 1)

Run the code above in your browser using DataLab