pseudo.transform: Transform object

Description Usage Arguments Value

Description

Similar to normal transform like log2 or log10. But keep 0 values as 0, to avoid Inf values and negtive values are made as -scale(abs(x)), to avoid NaN values.

Usage

1
pseudo.transform(x, scale = log2, by.reference = FALSE)

Arguments

x

a numeric vector or data.frame/data.table of numeric columns

scale

a function, default log2, which function to transform with.

by.reference

logical, FALSE. if TRUE, update object by reference if it is data.table.

Value

same object class as x, with transformed values


ORFik documentation built on March 27, 2021, 6 p.m.