Create a NiceCXNetwork based on a networkx graph. The resulting NiceCXNetwork
contains the nodes edges and their attributes from the networkx graph and also
preserves the graph ‘pos’ attribute as a CX cartesian coordinates aspect.

Create a NiceCXNetwork from a pandas dataframe in which each row
specifies one edge in the network.

If only the df argument is provided the dataframe is treated as ‘SIF’ format,
where the first two columns specify the source and target node ids of the edge
and all other columns are ignored. The edge interaction is defaulted to “interacts-with”

If both the source_field and target_field arguments are provided, the those and any other
arguments refer to headers in the dataframe, controlling the mapping of columns to
the attributes of nodes, and edges in the resulting NiceCXNetwork. If a header is not
mapped the corresponding column is ignored. If the edge_interaction is not specified it
defaults to “interacts-with”

Create a NiceCXNetwork based on a network retrieved from NDEx, specified by its UUID.
If the network is not public, then username and password arguments for an account on
the server with permission to access the network must be supplied.

Parameters:

server – the URL of the NDEx server hosting the network.

username – the user name of an account with permission to access the network.

password – the password of an account with permission to access the network.

Updates the network profile
Any profile attributes specified will be updated but attributes that are not specified will
have no effect - omission of an attribute does not mean deletion of that attribute.
The network profile attributes that can be updated by this method are: ‘name’, ‘description’ and ‘version’.

Get the attribute objects for an edge attribute name, where the edge may be specified by its id or passed in
as an object. The edge attribute objects include datatype and subnetwork information. An example of networks
that include subnetworks are Cytoscape collections stored in NDEx.

Get the attribute objects for a node attribute name, where the node may be specified by its id or passed in
as an object. The node attribute objects include datatype and subnetwork information. An example of networks
that include subnetworks are Cytoscape collections stored in NDEx.