Learn R Programming

edge (version 2.4.2)

as.matrix: Turn a DGEList Object into a Matrix

Description

Coerce a digital gene expression object into a numeric matrix by extracting the count values.

Usage

## S3 method for class 'DGEList':
as.matrix(x,\dots)

Arguments

x
an object of class DGEList.
...
additional arguments, not used for these methods.

Value

  • A numeric matrix.

Details

This method extracts the matrix of counts. This involves loss of information, so the original data object is not recoverable.

See Also

as.matrix in the base package or as.matrix.RGList in the limma package.