cpm_log1p_transform: CPM Log1p Transformation

View source: R/transforms.R

cpm_log1p_transformR Documentation

CPM Log1p Transformation

Description

CountTransform mapping x to log(x/1000000 + 1).

Usage

cpm_log1p_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.


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