plotControlHistoPerplate {RNAither} | R Documentation

## Plot a histogram of the data values and controls per plate

### Description

Plots and saves a histogram of data values per experiment and per plate and shows the controls, if available, in color.

### Usage

    plotControlHistoPerplate(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 histograms in a pdf and a png file named after the experiment name specified in the header concatenated with the `plotTitle`.

Positive controls are plotted in green, negative controls in red.

The function returns a list containing:

`histoName` | the plotname
`c(minOfScreens, numOfScreens)` | a vector with the number of the first experiment and of the last experiment
`c(minOfPlates, numOfPlates)` | a vector with the number of the first plate and the number of the last plate

### See Also

`plotControlHisto`, `plotControlHistoPerscreen`

### Examples

    data(exampleHeader, package="RNAither")
    data(exampleDataset, package="RNAither")

    plotControlHistoPerplate(header, dataset, "SigIntensity", "Distribution of Data and Controls", 1, 1)

[Package RNAither version 2.30.1 Index]