deleteEdgeAttribute(RCytoscape)
deleteEdgeAttribute()所属R语言包:RCytoscape
deleteEdgeAttribute
deleteEdgeAttribute
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Node and edge attributes are usually added to a Cytoscape network by defining them on the graph used to construct a CytoscapeWindow. Once Cytoscape has been passed an attribute, however, it persists until you exit the application or delete it – using the Cytoscape graphical user interface, or by calling this method.
通常被添加到由他们定义用于构建一个CytoscapeWindow图Cytoscape的网络节点和边的属性。一旦Cytoscape的已经通过了一个属性,但是,它仍然存在,直到您退出该应用程序或删除 - 使用Cytoscape的图形用户界面,或通过调用此方法。
用法----------Usage----------
deleteEdgeAttribute(obj, attribute.name)
参数----------Arguments----------
参数:obj
a CytoscapeConnectionClass object or CytoscapeWindow object.
CytoscapeConnectionClass对象或CytoscapeWindow的对象。
参数:attribute.name
a character string, the name of the attribute you wish to delete.
character string,您要删除的属性的名称。
值----------Value----------
nothing
没什么
作者(S)----------Author(s)----------
Paul Shannon
参见----------See Also----------
getEdgeAttributeNames addEdgeAttribute deleteNodeAttribute
getEdgeAttributeNames addEdgeAttribute deleteNodeAttribute
举例----------Examples----------
window.name = 'demo.deleteEdgeAttribute'
cw = new.CytoscapeWindow (window.name, graph=makeSimpleGraph ())
setDefaultEdgeLineWidth (cw, 5);
displayGraph (cw)
redraw (cw)
layout (cw)
print (paste ("before: ", getEdgeAttributeNames (cw)))
deleteEdgeAttribute (cw, 'score')
print (paste ("after: ", getEdgeAttributeNames (cw)))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|