log_transformR Documentation

Natural log and offset transformation

Description

The default transformation function for converting the normalized counts.

Usage

log_transform(x, offset = 0.5)

Arguments

x

numeric that must be >=0. represents an individual observed count (one transcript in one sample).

offset

numeric offset to prevent taking the log of 0.

Value

log(x + offset)