Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
MCI_output_preprocessing Class Reference

Public Member Functions

def fill_solution_scores_to_nb_solutions_map (self)
 Filling up the map having identical scores mapped to number of solutions. More...
 
def get_consensus_solutions_obj (self)
 Return MCI_solutions object instance for consensus solutions. More...
 

Detailed Description

A class to preprocess the output of a connectivity inference problem.

This class generates required dictionaries, lists from the MCI_solutions object instance required for statistics and plotting.

For example, in order to plot solution scores vs. number of solutions having those scores, one makes the following dictionary –
{key=solution_scores, value=nb_solutions}

Member Function Documentation

◆ fill_solution_scores_to_nb_solutions_map()

def fill_solution_scores_to_nb_solutions_map (   self)

Filling up the map having identical scores mapped to number of solutions.

◆ get_consensus_solutions_obj()

def get_consensus_solutions_obj (   self)

Return MCI_solutions object instance for consensus solutions.