log10div: log10 with sign

View source: R/addons.R

log10divR Documentation

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

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(s)

Małgorzata Oleś <malgorzata.oles@embl.de>

Examples

log10div(x=c(-10,10))

MalgorzataOles/BloodCancerMultiOmics2017 documentation built on March 29, 2024, 2:29 p.m.