extractMatrix: Extract the appropriate matrix

View source: R/extractMatrix.R

extractMatrixR 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))


QuackenbushLab/yarn documentation built on March 7, 2024, 3:53 p.m.