plotma {affycoretools}R Documentation

A Function to Make an MA Plot

Description

This function makes an MA plot from either a matrix or two vectors.

Usage

plotma(x, y = NULL, main = "", log = TRUE, out = FALSE)

Arguments

x A matrix of two columns or a vector of numbers. If a matrix with more than two columns is passed, only the first two will be used.
y A vector of numbers. If NULL, x should be a matrix with two columns.
main A title for the plot.
log Boolean describing if the data are log2 transformed.
out Boolean describing if the M and A values should be returned.

Value

If out is TRUE, a matrix of M and A values is returned.

Author(s)

James W. MacDonald <jmacdon@med.umich.edu>


[Package affycoretools version 1.8.1 Index]