a | b/man/log10div.Rd | ||
---|---|---|---|
1 | \name{log10div} |
||
2 | \alias{log10div} |
||
3 | \title{ |
||
4 | log10 with sign |
||
5 | } |
||
6 | \description{ |
||
7 | The function calculates the log10 of the given value and returns |
||
8 | it together with the sign of the input value. |
||
9 | } |
||
10 | \usage{ |
||
11 | log10div(x) |
||
12 | } |
||
13 | \arguments{ |
||
14 | \item{x}{numeric vector} |
||
15 | } |
||
16 | \details{ |
||
17 | This function is useful when coloring p-values stratified by two |
||
18 | possible effect directions (sensitivity and resistance in our case). |
||
19 | |||
20 | } |
||
21 | \value{ |
||
22 | numeric vector |
||
23 | } |
||
24 | \author{ |
||
25 | Małgorzata Oleś <dr.malgorzata.oles@gmail.com> |
||
26 | } |
||
27 | \examples{ |
||
28 | log10div(x=c(-10,10)) |
||
29 | } |