Description Usage Arguments Value See Also Examples
View source: R/quality_control.R
Plots and saves a histogram of the chosen data values.
1 | plotHistoPerscreen(header, dataset, channel, plotTitle, plotDesign, showPlot)
|
header |
the header of a dataset file generated with |
dataset |
an R data frame generated with |
channel |
a character string specifying the name of the column containing the values to be plotted, e.g. |
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. |
Saves the histograms 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 |
1 2 3 4 | data(exampleHeader, package="RNAither")
data(exampleDataset, package="RNAither")
plotHistoPerscreen(header, dataset, "SigIntensity", "Distribution of Data and Controls", 1, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.