identity_transform: Identity Transformation

View source: R/transforms.R

identity_transformR Documentation

Identity Transformation

Description

CountTransform mapping x to itself.

Usage

identity_transform(center = FALSE, scale = FALSE)

Arguments

center

Whether transformed data should be shifted to have mean zero. Can be specified either as a vector of two logical values, specifying whether the rows/columns should be centered, respectively, or a single logical value specifying whether the columns should be centered (for consistency with stats{prcomp()}).

scale

Whether transformed rows should be scaled to have unit variance.

Value

CountTransform object.

Note

Internally, the identity function is represented by a NULL value.


rafalab/smallcount documentation built on June 1, 2025, 2:10 p.m.