IGVsnapshot(SRAdb)
IGVsnapshot()所属R语言包:SRAdb
Make a file snapshot of the current IGV screen.
作出IGV的当前屏幕上的文件快照。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
From the IGV documentation: "Saves a snapshot of the IGV window to an image file. If filename is omitted, writes a .png file with a filename generated based on the locus. If filename is specified, the filename extension determines the image file format, which must be .png or .eps."
从IGV的文档:“IGV的窗口保存到一个图像文件的快照。如果省略文件名,写入基于轨迹生成一个文件名。png文件。如果指定文件名,文件扩展名决定的图像文件格式,它必须是PNG或EPS。“
用法----------Usage----------
IGVsnapshot(sock, fname = "", dirname=getwd())
参数----------Arguments----------
参数:sock
A socket connection to IGV.
套接字连接IGV的。
参数:fname
The filename to save. Alternatively, if not specified, IGV will create a filename based on the locus being viewed.
文件名保存。另外,如果不指定,IGV的将根据正在观看的轨迹创建一个文件名。
参数:dirname
The directory name as a string for where to save the snapshot file.
作为字符串保存快照文件的目录的名称。
作者(S)----------Author(s)----------
Sean Davis <sdavis2@mail.nih.gov>
参考文献----------References----------
参见----------See Also----------
startIGV
startIGV
举例----------Examples----------
## Not run: [#无法运行:]
## Create a snapshot of the current IGV window, which is usually the first launched IGV with listen port 60151 open[#IGV的当前窗口创建一个快照,这通常是首次推出的监听端口60151开放IGV的。]
sock <- IGVsocket()
IGVsnapshot(sock)
dir()
## End(Not run)[#结束(不运行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|