Skip to contents

Applies the base R function scale to transposed peak table. See scale for details.

Usage

# S4 method for class 'MetaboSet'
scale(x, center = TRUE, scale = TRUE)

# S4 method for class 'SummarizedExperiment'
scale(x, center = TRUE, scale = TRUE)

Arguments

x

a SummarizedExperiment or MetaboSet object

center, scale

as in base scale function

Value

A SummarizedExperiment or MetaboSet object with modified peak table.

Examples

scaled_set <- scale(example_set)