hlog                  package:affy                  R Documentation

_H_y_b_r_i_d _L_o_g

_D_e_s_c_r_i_p_t_i_o_n:

     Given a constant 'c' this function returns 'x' if 'x' is less than
     'c' and 'sign(x)*(c*log(abs(x)/c) + c)' if its not. Notice this is
     a continuos odd ( f(-x)=-f(x) ) function with continous first
     derivative. The main purpose is to perform log transformation when
      one has negative numbers, for example for PM-MM.

_U_s_a_g_e:

     hlog(x, constant=1)

_A_r_g_u_m_e_n_t_s:

       x: a number.

constant: the constant c (see description).

_D_e_t_a_i_l_s:

     If 'constant' is less than or equal to 0 'log(x)' is returned for
     all 'x'. If 'constant' is infinity 'x' is returned for all 'x'.

_A_u_t_h_o_r(_s):

     Rafael A. Irizarry

