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

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

[复制链接]
发表于 2012-2-25 21:31:33 | 显示全部楼层 |阅读模式
heatmapLayout(Heatplus)
heatmapLayout()所属R语言包:Heatplus

                                        Generate a layout for an (annotated) heatmap
                                         生成(注明)热图的布局

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

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

Generate a layout for an (annotated) heatmap. This function will generally not be called directly, but only via annHeatmap2.
(注明)热图生成一个布局。此功能一般不会被直接调用,但只有通过annHeatmap2。


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


heatmapLayout(dendrogram, annotation, leg.side = NULL, show = FALSE)



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

参数:dendrogram
A list with named entries Row and Col. Each of these is a list with a named entry status. If the value of status is the string "yes", space will be set aside for drawing a row- and/or column dendrogram.   
一个名为条目Row和Col名单。其中每一个都是一个名为条目status名单。如果的status价值是字符串"yes",空间将被预留行和/或列树状绘制。


参数:annotation
A list with named entries Row and Col. Each of these is a list with a named entry data. If the value of data is not NULL, space will be set aside for a picket plot showing the row- and/or column annotation.  
一个名为条目Row和Col名单。其中每一个都是一个名为条目data名单。如果值data非NULL,空间将预留一个纠察显示行和/或列注释的图。


参数:leg.side
An integer indicating on where to reserve space for the legend: values 1-4 correspond to below, to the left, above and to the right, as in e.g. axis. For a value of NULL, the function provides a reasonable default where there is space left in the layout. For any other value, no space for a legend is put aside.   
一个整数,表示保留空间的传说:值1-4对应以下,左,上面和右边,在如axis。为NULL的价值,功能,提供一个合理的默认,那里是布局中的剩余空间。对于任何其他的价值,没有一个传奇的空间被搁置一旁。


参数:show
A logical value; if TRUE, the layout defined by the arguments is displayed graphically.  
一个逻辑值,如果TRUE,由参数定义的布局图形显示。


Details

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

Space for plots is reserved via the layout mechanism. The function starts with an empty maximum layout, fills in the plot, dendrograms, annotation plots and legend as required, and compresses the resulting layout by removing empty slots.
图的空间被保留通过layout机制。函数开始一个空的最大布局,填补所需的图,聚类,注释图和传说中,压缩产生的布局,通过删除空槽。


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

A list with the following entries:
以下条目列表:


参数:plot
A matrix describing the plot layout; see layout
矩阵描述的图布局;看到layout


参数:width
relative widths of plots (i.e. columns)
图的相对宽度(即列)


参数:height
relative heights of plots (i.e. rows)
图的相对高度(即行)


参数:legend.side
side where to draw the legend
独守一方提请传说


参见----------See Also----------

annHeatmap2, picketPlot, layout
annHeatmap2,picketPlot,layout


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


    ## Heatmap with column dendrogram, column annotation, default legend[树状列,列注释,默认传说#热图]
    dnd = list(Row=list(status="no"), Col=list(status="yes"))
    ann = list(Row=list(data=NULL), Col=list(data=1))
    ## 1 = heatmap, 2=dendrogram, 3=annotation, 4=legend[#1 =热图聚类分析,2 = 3 =注解,4 =传说]
    ll = heatmapLayout(dendrogram=dnd, annotation=ann, leg.side=NULL, show=TRUE)
    ll

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-6 07:06 , Processed in 0.025442 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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