maInd2Coord(marray)
maInd2Coord()所属R语言包:marray
Convert spot indices to grid and spot matrix coordinates
网格和点矩阵坐标转换点指数
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This functions converts spot indices to grid and spot matrix coordinates (four coordinates), where spots on the array are numbered consecutively starting from the top left grid and the top left spot within each grid.
此功能的转换点指数网格和点矩阵坐标(四个坐标),在阵列上的斑点是从左上角的格,每个网格内的左顶端当场开始连续编号。
用法----------Usage----------
maInd2Coord(x, L)
参数----------Arguments----------
参数:x
a numeric vector of spot indices.
数字向量的现货指数。
参数:L
an object of class "marrayLayout".
对象类"marrayLayout"。
值----------Value----------
a matrix of spot four-coordinates, with rows corresponding to spots and columns to grid row, grid column, spot row, and spot column coordinates.
现货矩阵四坐标点和网格行的列对应的行,格列,当场行,并当场列坐标。
作者(S)----------Author(s)----------
Yee Hwa (Jean) Yang, Sandrine Dudoit, <a href="http://www.stat.berkeley.edu/~sandrine">http://www.stat.berkeley.edu/~sandrine</a>.
参见----------See Also----------
marrayLayout, maCoord2Ind,
marrayLayout,maCoord2Ind
举例----------Examples----------
L <- new("marrayLayout", maNgr=4, maNgc=4, maNsr=22, maNsc=24)
maInd2Coord(c(1:10,529:538), L)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|