log_with_min: log-transform data

View source: R/finding_peaks.R

log_with_minR Documentation

log-transform data

Description

performs a log-transform while adding a small value to the data based on finding the smallest non-zero value in the data

Usage

log_with_min(data, min_value = NULL, order_mag = 3, log_fun = log)

Arguments

data

the data to work with

min_value

the minimum value

order_mag

how many orders of magnitute smaller should min value be?

log_fun

what log function to use for the transformation

Value

matrix


MoseleyBioinformaticsLab/FTMS.peakCharacterization documentation built on April 27, 2022, 3:32 a.m.