generalized_log: Generalized log transform data.

Description Usage Arguments Value Examples

View source: R/generalized_log.R

Description

generalized_log transforms specified observation variables using x = log( (x + sqrt(x ^ 2 + offset ^ 2 )) / 2 ).

Usage

1
generalized_log(population, variables, offset = 1)

Arguments

population

tbl with grouping (metadata) and observation variables.

variables

character vector specifying observation variables.

offset

optional offset parameter for the transformation.

Value

transformed data of the same class as population.

Examples

1
2
3
4
5
6
population <- tibble::tibble(
  Metadata_Well = c("A01", "A02", "B01", "B02"),
  Intensity_DNA = c(8, 20, 12, 32)
)
variables <- c("Intensity_DNA")
generalized_log(population, variables)

cytominer documentation built on July 8, 2020, 5:08 p.m.