class documentation
class KeyNodesExtractor:
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 |
key nodes. Available after call KeyNodesExtractor |
| Static Method | _inflection |
: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 |
Undocumented |
| Instance Variable | _LCC |
Undocumented |
| Instance Variable | _node |
Undocumented |