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

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

[复制链接]
发表于 2012-2-25 18:55:25 | 显示全部楼层 |阅读模式
GetColor(geneplotter)
GetColor()所属R语言包:geneplotter

                                         A function to get the Red-Blue color scheme used by dChip
                                         一个函数来获得的红蓝色的配色方案由dChip

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

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

A simple, vectorized function that computes a Red/Blue color for plotting microarray expression data.
一个简单的矢量的计算为红/蓝彩色绘图芯片表达数据的功能。


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


GetColor(value, GreenRed=FALSE, DisplayRange=3)
dChip.colors(n)
greenred.colors(n)



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

参数:value
The vector of expression values.  
矢量表达式的值。


参数:GreenRed
If TRUE the Green-Red colors are produced, otherwise Red-Blue are procduced.  
如果TRUE绿,红颜色的产生,否则红 - 蓝procduced。


参数:DisplayRange
A parameter controlling the range of value's that will be plotted.  
value的范围,将绘制一个参数控制。


参数:n
An integer saying how many colors to be in the palette.
说多少颜色在调色板是一个整数。


Details

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

GetColor is a simple mapping into RGB land provided by Cheng Li. dChip.colors provides functionality similar to that of topo.colors for the red–blue colors used for genome  plots. greenred.colors does the same for the green-black-red gradient.  
GetColor是一个简单的映射到李成所提供的RGB土地。 dChip.colors提供类似的功能topo.colors红色蓝色基因图使用的颜色。 greenred.colors不为绿色,黑色,红色的梯度相同。


值----------Value----------

A vector of RGB colors suitable for plotting in R.
RGB颜色适合图在R的向量


作者(S)----------Author(s)----------


R. Gentleman, based on an original by C. Li.



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


  set.seed(10)
  x <- rnorm(10)
  GetColor(x)
  dChip.colors(10)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-8 00:42 , Processed in 0.027014 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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