plotRLE-methods {EDASeq} | R Documentation

## Methods for Function `plotRLE` in Package EDASeq

### Description

`plotRLE` produces a Relative Log Expression (RLE) plot of the counts in `x`

### Usage

    plotRLE(x, ...)

### Arguments

`x` | Either a numeric matrix or a `SeqExpressionSet` object containing the gene expression.
`...` | See `par`

### Details

The Relative Log Expression (RLE) plot is a useful diagnostic plot to visualize the differences between the distributions of read counts across samples.

It shows the boxplots of the log-ratios of the gene-level read counts of each sample to those of a reference sample (defined as the median across the samples). Ideally, the distributions should be centered around the zero line and as tight as possible. Clear deviations indicate the need for normalization and/or the presence of outlying samples.

### Methods

`signature(x = "matrix")`
`signature(x = "SeqExpressionSet")`

### Examples

    library(yeastRNASeq)
    data(geneLevelData)

    mat <- as.matrix(geneLevelData)

    data <- newSeqExpressionSet(mat,
                                phenoData=AnnotatedDataFrame(
                                          data.frame(conditions=factor(c("mut", "mut", "wt", "wt")),
                                                     row.names=colnames(geneLevelData))))

    plotRLE(data, col=rep(2:3, each=2))

[Package EDASeq version 2.18.0 Index]