plotHisto: Plot a histogram of the data values

Description Usage Arguments Value See Also Examples

View source: R/quality_control.R

Description

Plots and saves a histogram of the chosen data values.

Usage

1
plotHisto(header, dataset, channel, plotTitle, 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

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

The function returns the plot name.

See Also

plotHistoPerplate, plotHistoPerscreen

Examples

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

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

RNAither documentation built on May 31, 2017, 11:11 a.m.