Log2Transform: Log2Transform

View source: R/Log2Transform.R

Log2TransformR Documentation

Log2Transform

Description

This function takes a list of matrices and calculates the log2 for each value. If (and only if) at least one value in a given matrix is 0, a pseudocount is added first to all values.

Usage

Log2Transform(counts, pseudocount = 1)

Arguments

counts

A list of counts across peak summits generated by SummitHeatmap.

pseudocount

The pseudocount to add to the values (to avoid taking the log2 of 0). Default=1.

Value

A list of matrices of same size as counts, with all the values log2 transformed.


fmi-basel/gbuehler-MiniChip documentation built on June 13, 2025, 6:15 a.m.