找回密码
 注册
查看: 543|回复: 0

R语言 oligo包 darkColors()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-26 08:13:32 | 显示全部楼层 |阅读模式
darkColors(oligo)
darkColors()所属R语言包:oligo

                                         Create set of colors, interpolating through a set of preferred colors.
                                         创建颜色设置,通过一组的首选颜色插值。

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Create set of colors, interpolating through a set of preferred colors.
创建颜色设置,通过一组的首选颜色插值。


用法----------Usage----------


darkColors(n)
seqColors(n)
seqColors2(n)
divColors(n)



参数----------Arguments----------

参数:n
integer determining number of colors to be generated
产生整数,确定颜色数


Details

详情----------Details----------

darkColors is based on the Dark2 palette in RColorBrewer, therefore useful to describe qualitative features of the data.
darkColors是基于调色板在RColorBrewer Dark2,因此有用的数据来描述定性特征。

seqColors is based on Blues and generates a gradient of blues, therefore useful to describe quantitative features of the data. seqColors2 behaves similarly, but it is based on OrRd (white-orange-red).
seqColors蓝色的基础上,并生成一个蓝色的渐变,因此有用的数据来描述数量特征。 seqColors2类似,但它是基于OrRd(白橙红色)。

divColors is based on the RdBu pallete in RColorBrewer, therefore useful to describe quantitative features ranging on two extremes.
divColors被在RColorBrewer RdBu调色板,因此有用的描述包括两个极端的数量特征的基础上的。


举例----------Examples----------


x <- 1:10
y <- 1:10
cols1 <- darkColors(10)
cols2 <- seqColors(10)
cols3 <- divColors(10)
cols4 <- seqColors2(10)
plot(x, y, col=cols1, xlim=c(1, 13), pch=19, cex=3)
points(x+1, y, col=cols2, pch=19, cex=3)
points(x+2, y, col=cols3, pch=19, cex=3)
points(x+3, y, col=cols4, pch=19, cex=3)
abline(0, 1, lty=2)
abline(-1, 1, lty=2)
abline(-2, 1, lty=2)
abline(-3, 1, lty=2)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-2-2 14:07 , Processed in 0.025732 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表