Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

mapViridis

Map vector of numeric values to Viridis color scale.


Description

Map vector of numeric values to Viridis color scale.

Usage

mapViridis(values, domain_min = 0, domain_max = 50, n = 256)

Arguments

values

vector of numeric values (mostly -log10(p-values))

domain_min

numeric value that corresponds to the 'yellow' in the color scale

domain_max

numeric value that corresponds to the 'dark blue' in the color scale

n

number of bins to generate from the color scale

Value

The output is a corresponding vector of colors from the Viridis color scale with domain in range(domain_min, domain_max).

Author(s)

Liis Kolberg <liis.kolberg@ut.ee>


gprofiler2

Interface to the 'g:Profiler' Toolset

v0.2.0
GPL (>= 2)
Authors
Liis Kolberg <liis.kolberg@ut.ee>, Uku Raudvere <uku.raudvere@ut.ee>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.