Description Usage Arguments See Also Examples
The function maps p values between 0 and 1 to continuous scores ranging on R
by the following equation: abs(log10(p))*sign
1 | pAbsLog10Score(p, sign = 1)
|
p |
p-value(s) between (0,1] |
sign |
Sign of the score, either positive (in case of positive
numbers), negative (in case of negative numbers), or zero. In case a
logical vector, |
1 2 3 4 5 6 | testPvals <- c(0.001, 0.01, 0.05, 0.1, 0.5, 1)
pAbsLog10Score(testPvals)
testPvalSign <- rep(c(-1,1), 3)
pAbsLog10Score(testPvals, sign=testPvalSign)
testLog <- rep(c(TRUE, FALSE),3)
pAbsLog10Score(testPvals, testLog)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.