makeRectDF(sendplot)
makeRectDF()所属R语言包:sendplot
Maps R x and y point coordinates to pixil coordinates for
图R X和Y点坐标,pixil坐标
译者:生物统计家园网 机器人LoveR
描述----------Description----------
NOT CALLED BY USER. The makeRectDF function is utilized by makeImap to map a set of R x and y coordinates to their corresponding pixil x and y coordinates. It also sets up data.frames
不调用用户。是利用由makeImap makeRectDF功能映射的一组R X和y坐标到其对应的pixil x和y坐标。它也建立data.frames
用法----------Usage----------
makeRectDF(Splot,
xlim, ylim,
x.left,y.top,
x.right,y.bottom,
boundingPt,
x.labels=NA,
y.labels=NA,
xy.labels=NA,
x.links=NA,
y.links=NA,
xy.links=NA,
asLinks=NA,
x.images=NA,
y.images=NA,
xy.images=NA)
参数----------Arguments----------
参数:Splot
An Object of the class Splot
一个对象的类Splot
参数:xlim
x limit of figure
NOx限制图
参数:ylim
y limit of figure
Ÿ极限图
参数:x.left
numeric vector of left x values for interactive rectangles
数字向量的互动矩形左边的x值
参数:y.top
numeric vector of top y values for interactive rectangles
数字向量的互动矩形的顶部y值
参数:x.right
numeric vector of right x values for interactive rectangles
数字向量的互动矩形合适的x值
参数:y.bottom
numeric vector of bottom y values for interactive rectangles
数字矢量互动矩形的y值
参数:boundingPt
List with up.left and low.right pixil coordinates of the desired interactive figure's plotting region, as determined by automapPts
名单与up.left和low.right pixil协调所需的交互图的绘图区,由automapPts
参数:x.labels
data frame of n x m which contains values relating to the x axis. n should be the length of the x.left argument. m columns contains information regarding sample. This information is displayed in the interactive plot window
的NXM其中包含有关x轴的值的数据框。 n应该是的长度的x.left参数。 m列包含有关样品的信息。此信息将显示在交互式绘图窗口
参数:y.labels
data frame of n x m which contains values relating to the y axis. n should be the length of the y.top argument. m columns contains information regarding sample. This information is displayed in the interactive plot window
NXM其中包含有关于y轴的值的数据框。 n应该是的长度的y.top参数。 m列包含有关样品的信息。此信息将显示在交互式绘图窗口
参数:xy.labels
list of matricies. All matricies should be of n x m where n is the length of x.left and m is the length of y.top. This information is displayed in the interactive plot window
列表的matricies。所有matricies应是NXM其中n是长度x.left和m是长度y.top。此信息将显示在交互式绘图窗口
参数:x.links
data frame of n x m which contains web addresses for links relating to the x axis. n should be the length of the x.left argument. m columns contains information regarding sample. This information is displayed as hyperlinks in the interactive plot window.
数据框的NXM包含网络地址有关的x轴的链接中。 n应该是的长度的x.left参数。 m列包含有关样品的信息。此信息显示作为交互式绘图窗口中的超链接。
参数:y.links
data frame of n x m which contains web addresses for links relating to the y axis. n should be the length of the y.top argument. m columns contains information regarding sample. This information is displayed as hyperlinks in the interactive plot window.
数据框的NXM包含网络地址有关的y轴的链接中。 n应该是的长度的y.top参数。 m列包含有关样品的信息。此信息显示作为交互式绘图窗口中的超链接。
参数:xy.links
list of matricies. All matricies should be of n x m where n is the length of y.top and m is the length of x.left. This information is displayed in the interactive plot window as hyperlinks. The values in these matricies should be complete web address
列表的matricies。所有matricies应是NXM其中n是长度y.top和m是长度x.left。为超链接的互动式绘图窗口中显示此信息。值在这些matricies应是完整的Web地址
参数:asLinks
contains complete web address for points that should be treated as hyperlinks. Should be equal to the length of x.left
包含完整的网络地址应被视为超链接点。应该是相等的长度x.left
参数:x.images
data frame of n x m which contains paths to images relating to the xpos. n should be the length of the xpos argument if xy.type is "image.midpoints" and length of xpos - 1 if xy.type is "image.boundaries" or "image.box". m columns contains information regarding sample. This information is displayed as images in the interactive plot window.
数据框的NXM其中包含的图像有关的XPOS路径。 n应的长度的XPOS参数,如果xy.type中是“image.midpoints”和长度XPOS - 1,如果xy.type是的“image.boundaries”或“image.box”。 m列包含有关样品的信息。此信息显示作为交互式绘图窗口中的图像。
参数:y.images
data frame of n x m which contains paths to images relating to the ypos. n should be the length of the ypos argument if xy.type is "image.midpoints" and length of ypos - 1 if xy.type is "image.boundaries" or "image.box". m columns contains information regarding sample. This information is displayed as images in the interactive plot window.
数据框的NXM路径其中包含的图像有关的ypos。 n应的长度的ypos参数,如果xy.type中是“image.midpoints”和长度ypos - 1,如果xy.type是的“image.boundaries”或“image.box”。 m列包含有关样品的信息。此信息显示作为交互式绘图窗口中的图像。
参数:xy.images
list of matricies. All matricies should be of n x m where n is the length of y and m is the length of x when xy.type is "image.midpoint". All matricies should be of n x m where n is the length of y -1 and m is the length of x - 1 when xy.type is "image.boundaries" or "image.box". This information is displayed in the interactive plot window as images. The values in these matricies should be complete paths to images
列表的matricies。其中n是y的长度,m是x的长度当xy.type是“image.midpoint”时,所有matricies应该是NXM。其中n是长度的y -1和m是长度x - 1当xy.type中是“image.boundaries”或“image.box”时,是所有matricies应NXM。此信息将显示在图像的互动式绘图窗口。本在这些matricies值应该是完整的路径,图像
Details
详细信息----------Details----------
This function uses the x and y limits of the R plots and the boundaries of the figure to convert plot points to pixil coordinates.
此函数使用的x和y的R图限制和边界图,积点转换pixil坐标。
The function will make a rectangle region using the coordinates in x.left, y.top, x.right, y.bottom. The first rectangle would have the coordinates (x.left[1], y.bottom[1]),(x.left[1], y.top[1]), (x.right[1], y.top[1]), (x.right[1], y.bottom[1]). etc.
该函数将一个矩形区域,使用x.left,y.top,x.right,y.bottom中的坐标。第一个矩形坐标(x.left [1],y.bottom [1]),(x.left [1],y.top [1]),(x.right [1],y.top [1]),(x.right [1],y.bottom [1])。等等
The data matricies are checked for proper lengths and returned as a MapObj.
的的数据matricies检查适当的长度和作为一个MapObj返回。
值----------Value----------
List containing objects with interactive information.
与互动的信息列表,其中包含的对象。
注意----------Note----------
NOT CALLED BY USER. INTERNAL HELPER FUNCTION
不调用用户。内部辅助功能
(作者)----------Author(s)----------
Lori A. Shepherd, Daniel P. Gaile
参见----------See Also----------
makeImap, automapPts
makeImap,automapPts
实例----------Examples----------
# not called by user[不叫用户]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|