CyNetworkRelations: Cytoscape network relations

Description Usage Arguments Details Value See Also Examples

Description

This function is used to create Cytoscape network relations aspects.

Usage

1
createCyNetworkRelations(child, parent = NULL, name = NULL, isView = F)

Arguments

child

integer; reference to subnetwork id

parent

integer (optional); reference to subnetwork id, but left blank (or NA) for root-network

name

character (optional); name of the subnetwork or view

isView

logical (optional); TRUE for views, else the network defines a subnetwork

Details

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.

Value

CyNetworkRelationsAspect object

See Also

updateCyNetworkRelations;

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## 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)
)

frankkramer-lab/RCX documentation built on Oct. 26, 2021, 1:33 a.m.