cond_log2_transform_assays: Conditionally apply log2 transformation on assay data based...

View source: R/accessory.R

cond_log2_transform_assaysR Documentation

Conditionally apply log2 transformation on assay data based on log2_assays parameter.

Description

Conditionally apply log2 transformation on assay data based on log2_assays parameter.

Usage

cond_log2_transform_assays(assay_data, log2_assays, threshold = 20)

Arguments

assay_data

A list containing matrices as assay data.

log2_assays

A string parameter that can be NULL, empty, or a non-empty string. If NULL: log2 transformation will be guessed based on input assays. If empty: no log2 transformation will be applied. If non-empty: log2 transformation will be applied unconditionally to specified assays.

threshold

A numeric threshold to determine if an assay should be log-transformed.

Value

A modified assay_data list.


pinin4fjords/shinyngs documentation built on Feb. 28, 2024, 10:19 a.m.