controlDensityPerScreen: Plotting the control density per experiment

Description Usage Arguments Value See Also Examples

View source: R/quality_control.R

Description

Plots the density of positive and negative controls (if applicable) for each experiment.

Usage

1
controlDensityPerScreen(header, dataset, channel, plotTitle, showPlot, supHisto)

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 for computing the density, 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

supHisto

0 or 1. 1 will additionally superimpose a colour histogram of the values for the positive and negative controls. Otherwise choose 0.

Value

Generates a series of plots for each experiment, showing the density of positive and negative controls (if applicable). The plots are saved as pdf and png files named after the experiment name specified in the header concatenated with the plotTitle and the number of the experiment.

The function returns a list of length 3 containing:

plotName

the plotname

minOfScreens

the number of the first experiment

numOfScreens

the number of the last experiment

See Also

controlDensity, controlDensityPerPlate

Examples

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

controlDensityPerScreen(header, dataset, "SigIntensity", "Control density", 1, 1)

RNAither documentation built on Nov. 8, 2020, 8:06 p.m.