Description Usage Arguments Examples
maps numeric vector to color palette
1 | maptocolors(vec, col, num = 100, range = NULL)
|
vec |
numeric vector to map to color |
col |
color palette to which to be mapped |
num |
number of bins of colors |
range |
range of values to map |
1 | plot((1:10),col=maptocolors(vec=(1:10),colorRampPalette(c("blue","red"))),pch=19,cex=4)
|
Loading required package: zoo
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
Loading required package: biomaRt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.