Skip to content

Reconnect nodes of degree zero in the graph #12

@malabikasen

Description

@malabikasen

When we do cross validation, especially node-based, we delete edges and nodes from the network. This step makes these nodes disconnected, i.e., have degree zero. Clearly, this disconnection happens to TFs in node-based cross validation, i.e., for the TFs in the fold that we have left out. Genes (targets) can also become disconnected in this process.

We need to address this point in two steps:

(i) for every TF that is missing from the network, we add artificial edges from that TF to every other node in the network. We always perform this step.

(ii) for every (target) gene that is missing from the networks, we add artificial edges from every TF to that genes. We perform this step only if the configuration parameter is passed by the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions