ma3x3(limma)
ma3x3()所属R语言包:limma
Two dimensional Moving Averages with 3x3 Window
二维移动平均线与3x3的窗口
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Apply a specified function to each to each value of a matrix and its immediate neighbors.
申请指定的函数每个矩阵和其近邻的每个值。
用法----------Usage----------
ma3x3.matrix(x,FUN=mean,na.rm=TRUE,...)
ma3x3.spottedarray(x,printer,FUN=mean,na.rm=TRUE,...)
参数----------Arguments----------
参数:x
numeric matrix
数字矩阵
参数:FUN
function to apply to each window of values
功能,适用于每个窗口的值
参数:na.rm
logical value, should missing values be removed when applying FUN
逻辑值,遗漏值应该被删除时,申请FUN
参数:...
other arguments are passed to FUN
其他的参数被传递FUN
参数:printer
list giving the printer layout, see PrintLayout-class
列出给打印机布局,看到PrintLayout-class
Details
详情----------Details----------
For ma3x3.matrix, x is an arbitrary function. for ma3x3.spotted, each column of x is assumed to contain the expression values of a spotted array in standard order. The printer layout information is used to re-arrange the values of each column as a spatial matrix before applying ma3x3.matrix.
为ma3x3.matrix,x是一个任意的功能。 ma3x3.spotted,每个x列假设一个斑点阵列包含在标准顺序的表达式的值。打印机布局信息是用来重新安排前申请ma3x3.matrix作为一个空间的矩阵的每一列的值。
值----------Value----------
Numeric matrix of same dimension as x containing smoothed values
同维x含有平滑值的数字矩阵
作者(S)----------Author(s)----------
Gordon Smyth
参见----------See Also----------
An overview of functions for background correction are given in 04.Background.
在04.Background背景校正功能概述。
举例----------Examples----------
x <- matrix(c(2,5,3,1,6,3,10,12,4,6,4,8,2,1,9,0),4,4)
ma3x3.matrix(x,FUN="mean")
ma3x3.matrix(x,FUN="min")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|