class documentation

class KeyNodesExtractor:

View In Hierarchy

Key node extractor by step-by-step removing nodes from the graph until the LCC is completely degraded Parameters ---------- input : instance of GeneralNet class return : dict(nodes: weights) Examples -------- >>> MirNet = netanalyzer.GeneralNet(path) # Load String db from path and create gene-gene interaction network. # If path=None than built-in String version loaded. >>> MirNet.get_LCC() # get the largest connected component from the network >>> extractor = KeyNodesExtractor() >>> extractor(MirNet)

Method __call__ Undocumented
Method keys Returns key nodes
Instance Variable key_nodes key nodes. Available after call KeyNodesExtractor
Static Method _inflection_finder :param sigma: smoothing :param card_LCC: cardinality of the LCC :param n_CC: number of connected components in the Network :return: the index of the last key node, after the removal of which the network stops rapidly falling apart...
Method _extraction Undocumented
Instance Variable _graph_features Undocumented
Instance Variable _LCC Undocumented
Instance Variable _node_centrality Undocumented
def __call__(self, MirNet):

Undocumented

def keys(self):

Returns key nodes

key_nodes =

key nodes. Available after call KeyNodesExtractor

@staticmethod
def _inflection_finder(card_LCC, n_CC, sigma, max_iter=100):

:param sigma: smoothing :param card_LCC: cardinality of the LCC :param n_CC: number of connected components in the Network :return: the index of the last key node, after the removal of which the network stops rapidly falling apart

def _extraction(self):

Undocumented

_graph_features =

Undocumented

_LCC =

Undocumented

_node_centrality =

Undocumented