extractMatrix {yarn} | R Documentation

## Extract the appropriate matrix

### Description

This returns the raw counts, log2-transformed raw counts, or normalized expression. If normalized = TRUE then the log paramater is ignored.

### Usage

    extractMatrix(obj, normalized = FALSE, log = TRUE)

### Arguments

`obj` | ExpressionSet object or objrix.
`normalized` | TRUE / FALSE, use the normalized matrix or raw counts
`log` | TRUE/FALSE log2-transform.

### Value

matrix

### Examples

    data(skin)
    head(yarn:::extractMatrix(skin,normalized=FALSE,log=TRUE))
    head(yarn:::extractMatrix(skin,normalized=FALSE,log=FALSE))

[Package yarn version 1.12.0 Index]