scaled_log1p_transform: Scaled Log1p Transformation

View source: R/transforms.R

scaled_log1p_transformR Documentation

Scaled Log1p Transformation

Description

CountTransform mapping x to log(coef * x + 1).

Usage

scaled_log1p_transform(coef, center = FALSE, scale = FALSE)

Arguments

coef

Scaling coefficient.

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.


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