[226bc8]: / man / log10div.Rd

Download this file

30 lines (28 with data), 516 Bytes

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