deleteWindow(RCytoscape)
deleteWindow()所属R语言包:RCytoscape
deleteWindow
deleteWindow
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Delete the window associated with the supplied CytoscapeConnection object. In addition, Cytoscape's copy of the network is deleted from Cytoscape's memory store, but the R graph object is unaffected.
删除与提供CytoscapeConnection对象相关联的窗口。此外,Cytoscape的网络副本Cytoscape的内存存储被删除,但在R图形对象不受影响。
There are two different ways to use this method. First, if you call it on a CytoscapeWindow object, using the default window.title value of NA, the Cytoscape window itself will be deleted. Alternatively, if you supply a window.title as the second argument – independent of whether or not the first argument is a CytoscapeConnection object, or its subclass, a CytoscapeWindow object, the named window is deleted.
有两种不同的方式使用此方法。首先,如果你打检测上CytoscapeWindow对象,使用默认window.title值的NA,Cytoscape的窗口本身将被删除。另外,如果你提供1 window.title作为第二个参数 - 独立与否的第一个参数是CytoscapeConnection对象,或者其子类中,CytoscapeWindow对象,名为窗口将被删除。
用法----------Usage----------
deleteWindow(obj, window.title=NA)
参数----------Arguments----------
参数:obj
a CytoscapeConnectionClass object, or subclass
CytoscapeConnectionClass对象,或子
参数:window.title
a string object, optional title
string对象,可选的标题
值----------Value----------
Nothing.
没有。
作者(S)----------Author(s)----------
Paul Shannon
举例----------Examples----------
window.title <- 'demo deleteWindow'
cw <- new.CytoscapeWindow (window.title, graph=makeSimpleGraph())
displayGraph (cw)
redraw (cw)
layout (cw)
deleteWindow (cw)
cw2 <- new.CytoscapeWindow ('demo 2')
cy = CytoscapeConnection ()
deleteWindow (cy, 'demo 2')
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|