plot.annHeatmap(Heatplus)
plot.annHeatmap()所属R语言包:Heatplus
Plotting method for annotated heatmaps
注释热图的绘制方法
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Plotting method for annotated heatmaps
注释热图的绘制方法
用法----------Usage----------
## S3 method for class 'annHeatmap'
plot(x, widths, heights, ...)
参数----------Arguments----------
参数:x
an object of class annHeatmap
一个对象类annHeatmap
参数:widths
a numerical vector giving the widths of the sub-plots currently defined
当前定义的子图的宽度数值向量
参数:heights
a numerical vector giving the heights of the sub-plots currently defined
当前定义的子图的高度数值向量
参数:...
extra graphical parameters, currently ignored
额外的图形参数,目前被忽略
Details
详情----------Details----------
This function displays an annotated heatmap object that has been previously generated by annHeatmap2 or on of its wrappers. The arguments widths and heights work as in layout.
此功能显示先前已annHeatmap2或者其包装上生成的注释热图对象。论据widths和heights工作layout。
值----------Value----------
x, invisibly returned. If widths or heights have been specified, they overwrite the corresponding items x$layout$width and x$layout$height in x.
x,无形中返回。如果widths或heights已被指定,他们覆盖相应的项目x$layout$width和x$layout$heightx。
参见----------See Also----------
annHeatmap2, heatmapLayout, layout
annHeatmap2,heatmapLayout,layout
举例----------Examples----------
## Define the map[#定义图]
require(Biobase)
data(sample.ExpressionSet)
ex1 = sample.ExpressionSet[51:85,]
map1 = annHeatmap2(exprs(ex1), ann=list(Col=list(data=pData(ex1))),
cluster=list(Col=list(cuth=3000)))
## Plot it [#图]
plot(map1)
## More heatmap, smaller dendrogram/annotation[#热图更多,更小的聚类分析/注释]
map2 = plot(map1, heights = c(1,6,1))
## Compare layout before/after[#比较前/后的布局]
with(map1$layout, layout(plot, width, height))
layout.show(4)
with(map2$layout, layout(plot, width, height))
layout.show(4)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|