CyNetworkRelations | R Documentation |
This function is used to create Cytoscape network relations aspects.
createCyNetworkRelations(child, parent = NULL, name = NULL, isView = FALSE)
child |
integer; reference to subnetwork id |
parent |
integer (optional); reference to subnetwork id, but left blank (or |
name |
character (optional); name of the subnetwork or view |
isView |
logical (optional); |
Cytoscape contributes aspects that organize subnetworks, attribute tables, and visual attributes for use by its own layout and analysis tools. Furthermore are the aspects used in web-based visualizations like within the NDEx platform.
Cytoscape network relations define the relationship between the main network, subnetworks and views and also a name can be assigned to the relationship. Both, subnetworks and views are defined as subnetworks aspect, but their type is defined here by the isView property. The parent of a subnetwork or view can be an other subnetwork or the root network.
CyNetworkRelationsAspect object
updateCyNetworkRelations
;
## a minimal example cyNetworkRelations = createCyNetworkRelations( child = 1 ) ## with all parameters cyNetworkRelations = createCyNetworkRelations( child = c(1,2), parent = c(NA,1), name = c("Network A", "View A"), isView = c(FALSE, TRUE) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.