toFile(Rgraphviz)
toFile()所属R语言包:Rgraphviz
Render a graph in a file with given format
与给定的格式呈现在一个文件中的图
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Render a graph in a file with given format
与给定的格式呈现在一个文件中的图
用法----------Usage----------
toFile(graph,
layoutType=c("dot","neato","twopi","circo","fdp"),
filename,
fileType=c("canon", "dot", "xdot", "dia", "fig",
"gd", "gd2", "gif", "hpgl", "imap", "cmapx",
"ismap", "mif", "mp", "pcl", "pdf", "pic",
"plain", "plain-ext", "png", "ps", "ps2",
"svg", "svgz", "vrml", "vtx", "wbmp"))
参数----------Arguments----------
参数:graph
an instance of the Ragraph class
Ragraph类的一个实例
参数:layoutType
which layout algorithm to use
使用该布局算法
参数:filename
output file name
输出文件名
参数:fileType
output file type
输出文件类型
Details
详情----------Details----------
This function takes a given Ragraph, does the chosen layout, then renders the output to an external file. Users could view the output file with corresponding viewer.
此功能需要一个给定的Ragraph,没有选择的布局,然后渲染输出到外部文件。与相应的浏览器,用户可以查看输出文件。
值----------Value----------
toFile returns NULL after writing to a file.
toFile返回NULL书面文件后。
作者(S)----------Author(s)----------
Li Long <li.long@isb-sib.ch>
参考文献----------References----------
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|