makeImageDF(sendplot)
makeImageDF()所属R语言包:sendplot
Maps R x and y point coordinates to pixil coordinates for
图R X和Y点坐标,pixil坐标
译者:生物统计家园网 机器人LoveR
描述----------Description----------
NOT CALLED BY USER. The makeImageDF 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 makeImageDF功能映射的一组R X和y坐标到其对应的pixil x和y坐标。它也建立data.frames
用法----------Usage----------
makeImageDF(Splot,
xy.type,
xlim, ylim,
x.pos,y.pos,
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
参数:xy.type
Indication of how the xpos and ypos values should be treated.Current options are "image.midpoint","image.boundaries", or "image.box".See details or vignette.
xpos和ypos值应如何是treated.Current选项指示是“image.midpoint”,的“image.boundaries”,或“image.box”查看详情或小插图。
参数:xlim
x limit of figure
NOx限制图
参数:ylim
y limit of figure
Ÿ极限图
参数:x.pos
numeric vector of x values for interactive points
数字向量的互动点的x值
参数:y.pos
numeric vector of y values for interactive points
数字向量的互动点的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 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 in the interactive plot window
数据框包含价值的XPOS的NXM这。 n应的长度的XPOS参数,如果xy.type中是“image.midpoints”和长度XPOS - 1,如果xy.type是的“image.boundaries”或“image.box”。 m列包含有关样品的信息。此信息将显示在交互式绘图窗口
参数:y.labels
data frame of n x m which contains values relating to the yvec. 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 in the interactive plot window
数据,的NXM其中包含的值有关的yvec框架。 n应的长度的ypos参数,如果xy.type中是“image.midpoints”和长度ypos - 1,如果xy.type是的“image.boundaries”或“image.box”。 m列包含有关样品的信息。此信息将显示在交互式绘图窗口
参数:xy.labels
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
列表的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。此信息将显示在交互式绘图窗口
参数:x.links
data frame of n x m which contains web addresses for links 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 hyperlinks in the interactive plot window.
数据框NXM为链接有关的XPOS的包含网络地址。 n应的长度的XPOS参数,如果xy.type中是“image.midpoints”和长度XPOS - 1,如果xy.type是的“image.boundaries”或“image.box”。 m列包含有关样品的信息。此信息显示作为交互式绘图窗口中的超链接。
参数:y.links
data frame of n x m which contains web addresses for links 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 hyperlinks in the interactive plot window.
数据框NXM,其中包含对与ypos有关的链接的网页地址。 n应的长度的ypos参数,如果xy.type中是“image.midpoints”和长度ypos - 1,如果xy.type是的“image.boundaries”或“image.box”。 m列包含有关样品的信息。此信息显示作为交互式绘图窗口中的超链接。
参数:xy.links
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 hyperlinks. The values in these matricies should be complete web address
列表的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应是完整的Web地址
参数:asLinks
contains complete web address for points that should be treated as hyperlinks. May be a data.frame or matrix of n x m where n is the length of ypos and m is the length of xpos, a vector of length xpos indicating xpos specific links that will be repeated, a vector of length ypos indicating ypos specific links that will be repeated, a non NA value of length 1 that will be repeated for all points, or a vector of length xpos*ypos. This assumes xy.type is "image.midpoints". If xy.type is "image.boundaries" or "image.box", then the lengths should be xpos-1 and ypos - 1. instead of xpos and ypos
包含完整的网络地址应被视为超链接点。可能是一个数据框或矩阵NXM其中n是ypos和m是XPOS的长度的矢量的长度的XPOS表示XPOS特定的链接,将被重复,表示的矢量的长度ypos ypos特定链接的长度,将被重复,非NA值的长度为1,将重复所有点,或一个矢量长度XPOS * ypos。这是假设xy.type是的“image.midpoints”。如果xy.type中是“image.boundaries”或“image.box”,那么长度应该是XPOS-1和ypos - 1。而不是xpos和ypos
参数: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坐标。
image.box will make rectangular regions for an image interactive based on the given xpos and ypos boundaries. image.midpoints and image.boundaries will make the center of the regions of an image interactive based on the given xpos and ypos. image.midpoints assumes the xpos and ypos are the actual locations. image.boundaries assumes the xpos and ypos are the boundary cuts and calculates the midpoints.
image.box将使用于图象交互式基于给定xpos和ypos边界的矩形区域。 image.midpoints image.boundaries将使的图像的区域,基于给定的xpos和ypos的交互式的中心。 image.midpoints假设xpos和ypos的实际位置。 image.boundaries假设xpos和ypos的的边界切割和计算的中点。
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:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|