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 Oct. 16, 2024, 10:23 p.m.