Used to construct the inverse hyperbolic sine transform object.

flowjo_fasinh_trans(..., n = 6, equal.space = FALSE)

flowJo_fasinh_trans(...)

Arguments

...

parameters passed to flowjo_fasinh

n

desired number of breaks (the actual number will be different depending on the data range)

equal.space

whether breaks at equal-spaced intervals

Value

fasinh transformation object

Examples

trans.obj <- flowjo_fasinh_trans(equal.space = TRUE) data <- 1:1e3 brks.func <- trans.obj[["breaks"]] brks <- brks.func(data) brks # fasinh space displayed at raw data scale
#> [1] 0.9214213 6.0292309 22.3735113 80.4145380 288.3213830 #> [6] 1033.5629075
#transform it to verify it is equal-spaced at transformed scale trans.func <- trans.obj[["transform"]] round(trans.func(brks))
#> [1] 47 77 107 138 168 198