transform_cmps: Apply a transformation to CMP data

View source: R/core_mimosa2_funcs.R

transform_cmpsR Documentation

Apply a transformation to CMP data

Description

Apply a transformation to CMP data

Usage

transform_cmps(cmp_dat, score_transform)

Arguments

cmp_dat

Dataset of species-specific metabolic potential scores

score_transform

transformation to apply (current options: zscore, log1plus, sqrt)

Value

Dataset with transformed values (rawValue is pre-transofrmation, value is now transformed value)

Examples

transform_cmps(indiv_cmps, met_transform = "zscore")

borenstein-lab/mimosa2 documentation built on Dec. 19, 2024, 12:44 a.m.