Last data update: 2014.03.03

R: inverse hyperbolic sine transform function generator...
asinh_Gml2R Documentation

inverse hyperbolic sine transform function generator (GatingML 2.0 version)

Description

hyperbolic sine/inverse hyperbolic sine transform function constructor. It is simply a special form of flowJo.fasinh with length set to 1 and different default values for parameters t,m,a.

Usage

asinh_Gml2(T = 262144, M = 4.5, A = 0, inverse = FALSE)

Arguments

T

numeric the maximum value of input data

M

numeric the full width of the transformed display in asymptotic decades

A

numeric Additional negative range to be included in the display in asymptotic decades

inverse

whether to return the inverse function

Value

fasinh/fsinh transform function

Examples

trans <- asinh_Gml2()
data.raw <- c(1,1e2,1e3)
data.trans <- trans(data.raw)
data.trans

inverse.trans <- asinh_Gml2(inverse = TRUE)
inverse.trans(data.trans)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(flowWorkspace)
Loading required package: flowCore
Loading required package: flowViz
Loading required package: lattice
Loading required package: ncdfFlow
Loading required package: RcppArmadillo
Loading required package: BH
Loading required package: gridExtra
> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/flowWorkspace/asinh_Gml2.Rd_%03d_medium.png", width=480, height=480)
> ### Name: asinh_Gml2
> ### Title: inverse hyperbolic sine transform function generator (GatingML
> ###   2.0 version)
> ### Aliases: asinh_Gml2
> 
> ### ** Examples
> 
> trans <- asinh_Gml2()
> data.raw <- c(1,1e2,1e3)
> data.trans <- trans(data.raw)
> data.trans
[1] 0.005817534 0.240980939 0.462553315
> 
> inverse.trans <- asinh_Gml2(inverse = TRUE)
> inverse.trans(data.trans)
[1]    1  100 1000
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>