neko.core.network.Network.remove_node

Network.remove_node(node: str)

Removes a node from the network. The node is removed from both the list of nodes and the list of edges.

Parameters: - node: A string representing the node to be removed. The node can be represented by either its Genesymbol or Uniprot identifier.

Returns: None. The function modifies the network object in-place by removing the node from the nodes DataFrame and any associated edges from the edges DataFrame.