Learn R Programming

dtComb (version 1.0.7)

transform_math: Mathematical transformations for biomarkers

Description

Applies a selected mathematical transformation ("log", "exp", "sin", or "cos") to biomarker data.

Usage

transform_math(markers, transform)

Value

A numeric data frame containing the transformed biomarkers.

Arguments

markers

A numeric data frame that contains the biomarkers.

transform

A character string specifying the transformation method to be applied. Supported methods are: "log", "exp", "sin", "cos".

Author

Serra Ilayda Yerlitas, Serra Bersan Gengec, Necla Kochan, Gozde Erturk Zararsiz, Selcuk Korkmaz, Gokmen Zararsiz

Examples

Run this code
data(laparotomy)
markers <- laparotomy[, -1]
transform_math(markers, transform = "log")

Run the code above in your browser using DataLab