log_transform: Natural log and offset transformation

View source: R/sleuth.R

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)


pachterlab/sleuth documentation built on Nov. 17, 2022, 4:51 p.m.