logicle_trans.RdUsed for construct logicle transform object.
logicle_trans(..., n = 6, equal.space = FALSE)
| ... | arguments passed to logicleTransform. |
|---|---|
| n | desired number of breaks (the actual number will be different depending on the data range) |
| equal.space | whether breaks at equal-spaced intervals |
a logicle transformation object
trans.obj <- logicle_trans(equal.space = TRUE) data <- 1:1e3 brks.func <- trans.obj[["breaks"]] brks <- brks.func(data) brks # logicle space displayed at raw data scale#> [1] -110.87459 19.91289 174.45226 596.67141 2172.05490 8386.10245#transform it to verify the equal-spaced breaks at transformed scale print(trans.obj[["transform"]](brks))#> [1] 0.0 0.6 1.2 1.8 2.4 3.0