controlPlots: Create an image of the scale factors of the array

View source: R/functions_imagesQC.R

controlPlotsR Documentation

Create an image of the scale factors of the array

Description

This function (from functions_imagesQC.R) creates images of the expression values of the affx controls, if present. One image shows the expression profiles over all samples, for each control separately. The other image shows the boxplots of all controls (together), for each sample.

Usage

controlPlots(
  Data,
  plotColors = NULL,
  experimentFactor = NULL,
  legendColors = NULL,
  affxplots = TRUE,
  boxplots = TRUE,
  WIDTH = 1000,
  HEIGHT = 1414,
  POINTSIZE = 24,
  MAXARRAY = 41
)

Arguments

Data

(Status: required) The raw data object (datatype: AffyBatch)

plotColors

(Status: required, Default:NULL) Vector of colors assigned to each array. (datatype: character)

experimentFactor

(Status: required, Default:NULL) The factor of groups. (datatype: factor)

legendColors

(Status: required, Default:NULL) Vector of colors assigned to each experimental group. (datatype: character)

affxplots

(Status: optional, Default:TRUE) Does the AFFX expression profiles have to be plotted? (datatype: logical)

boxplots

(Status: optional, Default:TRUE) Does the AFFX and other controls boxplots have to be plotted? (datatype: logical)

WIDTH

(Status: optional, Default:1000) png image width (datatype: number)

HEIGHT

(Status: optional, Default:1414) png image height (datatype: number)

POINTSIZE

(Status: optional, Default:24) png image point size (datatype: number)

MAXARRAY

(Status: optional, Default:41) threshold to adapt the image to the number of arrays (datatype: number)

Value

Two images. A PNG image of the expression profiles of the affx controls, called "Profiles_affx_controls" A PNG image of the boxplots of the affx controls, called "Boxplots_affx_controls"

Examples

# controlPlots(rawData,plotColors)

ammar257ammar/ArrayAnalysis-Bioconductor documentation built on Jan. 29, 2024, 7:21 a.m.