normalizeData: Normalize Data

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Normalize data the assay data.

Usage

1
2
normalizeData(object, sample.norm.method = "scale_common_factor",
  column.scale.factor = 1e+06)

Arguments

object

A TimeSeriesExperiment object or a data matrix/data frame.

sample.norm.method

Method for sample normalization. Currently supports only scaling to a common factor, "scale_common_factor" which with column.scale.factor = 1e+06 is equivalent to CPM normalization.

column.scale.factor

Sets the scale factor for sample-level normalization

Value

Returns TimeSeriesExperiment object after normalization. Normalized data is stored data slot.

Examples

1
2
3
4
data("endoderm_small")
names(assays(endoderm_small))
endoderm_small <- normalizeData(endoderm_small)
assays(endoderm_small)$norm[1:10, 1:6]

TimeSeriesExperiment documentation built on Nov. 8, 2020, 11:09 p.m.