ratioPlot: Create an image of beta-actin and GAPDH 3'/5' ratios

View source: R/functions_imagesQC.R

ratioPlotR Documentation

Create an image of beta-actin and GAPDH 3'/5' ratios

Description

This function (from functions_imagesQC.R) creates an image of beta-actin and GAPDH 3'/5' ratios based on the qc (simpleaffy Bioconductor package) function, which generally only work for chiptypes with perfect match and mismatch probes, but even not for all of those. As such, when these statistics are not provided as parameters, trys are used in this function to compute them internally. Values for which the try fails are not computed, but the script will continue after giving a warning.

Usage

ratioPlot(
  Data,
  quality = NULL,
  experimentFactor = NULL,
  plotColors = NULL,
  legendColors = NULL,
  WIDTH = 1000,
  HEIGHT = 1414,
  POINTSIZE = 24,
  MAXARRAY = 41
)

Arguments

Data

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

quality

(Status: optional, Default:NULL) object obtained by calling the qc function (simpleaffy).When not provided, it is computed within the function.(datatype: QCStats)

experimentFactor

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

plotColors

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

legendColors

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

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 3’/5’ratios for beta actin, called ‘RawData53ratioPlot_beta-actin’. A PNG image of 3’/5’ ratios for GAPDH, called ‘RawData53ratioPlot_GAPDH’

Examples

# ratioPlot(rawData, quality=quality, experimentFactor, plotColors, legendColors)

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