MAplot: MA plot

Description Usage Arguments Examples

View source: R/MAplot.R

Description

This function allows you to take a log-transformed expression matrix, and specify one (in which case it will be compared to the median) or two samples, outputing an MA plot, where A = mean expression count or intensity and M = log fold difference

Usage

1
MAplot(expression, sample1, sample2 = NULL)

Arguments

expression

A log-transformed expression matrix, with columns corresponding to samples and rows to genes or other features.

sample1

Character string specifiying the name of a column in your expression matrix, corresponding to a sample

sample2

Character string specifiying the name of a column in your expression matrix, corresponding to a sample. Defaults to the median if not specified.

Examples

1
2
3
4

amberjoybarton/sweetD documentation built on Feb. 27, 2021, 3:44 a.m.