imageplot(limma)
imageplot()所属R语言包:limma
Image Plot of Microarray Statistics
影像绘图芯片统计
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Creates an image of colors or shades of gray that represent the values of a statistic for each spot on a spotted microarray. This function can be used to explore any spatial effects across the microarray.
创建一个灰色斑点芯片上的每个点代表一个统计值的颜色或色调的图像。这个功能可以被用来探索整个芯片的任何空间效果。
用法----------Usage----------
imageplot(z, layout, low = NULL, high = NULL, ncolors = 123, zerocenter = NULL,
zlim = NULL, mar=c(2,1,1,1), legend=TRUE, ...)
参数----------Arguments----------
参数:z
numeric vector or array. This vector can contain any spot statistics, such as log intensity ratios, spot sizes or shapes, or t-statistics. Missing values are allowed and will result in blank spots on the image. Infinite values are not allowed.
数值向量或数组。这个向量可以包含任何现场统计,如log强度的比值,光斑尺寸或形状,或t-统计。遗漏值是允许的,将导致在图像上的空白点。无限值是不允许的。
参数:layout
a list specifying the dimensions of the spot matrix and the grid matrix.
列表指定的点矩阵和网格矩阵的尺寸。
参数:low
color associated with low values of z. May be specified as a character string such as "green", "white" etc, or as a rgb vector in which c(1,0,0) is red, c(0,1,0) is green and c(0,0,1) is blue. The default value is "green" if zerocenter=T or "white" if zerocenter=F.
颜色与z值低。可能被指定为字符串如"green","white"等,或作为一个RGB向量c(1,0,0)是红色的,c(0,1,0)绿色c(0,0,1)是蓝色的。默认值是"green"如果zerocenter=T或"white"如果zerocenter=F。
参数:high
color associated with high values of z. The default value is "red" if zerocenter=T or "blue" if zerocenter=F.
颜色与z高值。默认值是"red"如果zerocenter=T或"blue"如果zerocenter=F。
参数:ncolors
number of color shades used in the image including low and high.
在低和高的图像,包括使用的颜色深浅不一的数量。
参数:zerocenter
should zero values of z correspond to a shade exactly halfway between the colors low and high? The default is TRUE if z takes positive and negative values, otherwise FALSE.
z零值对应到正中间低和高的颜色阴影吗?默认值是TRUE,如果z正面和负面的价值观,否则为false。
参数:zlim
numerical vector of length 2 giving the extreme values of z to associate with colors low and high. By default zlim is the range of z. Any values of z outside the interval zlim will be truncated to the relevant limit.
数值向量长度为2的极端值z颜色low和high关联。默认情况下,zlimz的范围。任何值z外的间隔zlim有关限制将被截断。
参数:mar
numeric vector of length 4 specifying the width of the margin around the plot. This argument is passed to par.
长度为4的数字矢量指定缘的宽度,周围的图。这个参数被传递到par。
参数:legend
logical, if TRUE the range of z and zlim is shown in the bottom margin
逻辑,如果TRUE范围z和zlim显示在底部边缘
参数:...
any other arguments will be passed to the function image
任何其他参数将被传递给函数的图像
Details
详情----------Details----------
This function may be used to plot the values of any spot-specific statistic, such as the log intensity ratio, background intensity or a quality measure such as spot size or shape. The image follows the layout of an actual microarray slide with the bottom left corner representing the spot (1,1,1,1). The color range is used to represent the range of values for the statistic. When this function is used to plot the red/green log-ratios, it is intended to be an in silico version of the classic false-colored red-yellow-green image of a scanned two-color microarray.
此功能可用于绘制任何部位的具体统计值,如log强度比,背景强度或光斑尺寸或形状,如质量的衡量标准。图像如下布局与实际芯片幻灯片左下角角落点(1,1,1,1)。是用来表示统计值范围内的色彩范围。当此功能被用来绘制的红色/绿色的log比,它的目的是在硅片版本的经典假色红,黄,绿两色扫描芯片的图像。
This function is related to the earlier plot.spatial function in the sma package and to the later maImage function in the marray package. It differs from plot.spatial most noticeably in that all the spots are plotted and the image is plotted from bottom left rather than from top left. It is intended to display spatial patterns and artefacts rather than to highlight only the extreme values as does plot.spatial. It differs from maImage in that any statistic may be plotted and in its use of a red-yellow-green color scheme for log-ratios, similar to the classic false-colored jpeg image, rather than the red-black-green color scheme associated with heat maps.
此功能与较早plot.spatialsma包的功能,到后来maImagemarray包的功能。它不同于从plot.spatial最明显的是在所有的点绘制和图像绘制离开,而不是从左上角底部。它的目的是显示空间格局和文物,而不是只强调极端值plot.spatial。它不同于maImage任何统计数据可绘制在其log比率为红,黄,绿的配色方案,而不是类似经典的假彩色JPEG图像,使用红黑热图与绿色的配色方案。
值----------Value----------
An plot is created on the current graphics device.
当前图形设备上创建一个图。
作者(S)----------Author(s)----------
Gordon Smyth
参见----------See Also----------
maImage, image.
maImage,image。
An overview of diagnostic functions available in LIMMA is given in 09.Diagnostics.
诊断功能概述在LIMMA提供给在09.Diagnostics。
举例----------Examples----------
M <- rnorm(8*4*16*16)
imageplot(M,layout=list(ngrid.r=8,ngrid.c=4,nspot.r=16,nspot.c=16))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|