extractMatrix: Extract the appropriate matrix

View source: R/YARN.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(netZooR:::extractMatrix(skin,normalized=FALSE,log=TRUE))
head(netZooR:::extractMatrix(skin,normalized=FALSE,log=FALSE))


netZoo/netZooR documentation built on June 8, 2024, 6:20 a.m.