normalize: Normalize cell counts

Description Usage Arguments Examples

View source: R/cleaning_functions.R

Description

Wrapper functon to YeoJohnson transformation from recipes package. Similar transformation to boxcox, but it accepts also 0 (and negative) values.

Usage

1

Arguments

x

Numeric vector with values to normalize

Examples

1
2
3
4
5
6
7
x <- rpois(100, 3)
y <- normalize(x)

par(mfrow=c(1,2))
hist(x)
hist(y)
par(mfrow=c(1,1))

valeriabonapersona/abc3d documentation built on May 6, 2021, 7:05 p.m.