plotControlHisto {RNAither} | R Documentation |
Plots and saves a histogram of data values and shows the controls, if available, in color.
plotControlHisto(header, dataset, channel, plotTitle, showPlot)
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. |
Saves the histogram 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 funtion returns the plot name.
plotControlHistoPerplate
, plotControlHistoPerscreen
data(exampleHeader, package="RNAither") data(exampleDataset, package="RNAither") plotControlHisto(header, dataset, "SigIntensity", "Distribution of Data and Controls", 1)