Skip to contents

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