def __init__(self, wx_app= None, normalized=False, db_name="kegg_orthology", calculation_type= "sum", colorbar_title= "Relative abundance"): PacfmBase.__init__(self, wx_app= wx_app, normalized= normalized, db_name= db_name, calculation_type= calculation_type, colorbar_title= colorbar_title) self.view= MainView(None) self.init_controls() ### events self.bind_events() ### final self.view.Show()
def __init__(self, pw_length=False, pw_sequence=False, pw_minpath=False, pw_key_enzyme=-1, n_association=1000, input_file_path="", output_figure_path="pacfm.png", output_table_path="pacfm.tsv", output_type=0, info_types=[], abbreviations_path= "abbreviations.txt", links_path= "links.txt", key_enzymes_path="key_enzymes.txt", calculation_type= "sum", db_name="kegg_orthology", colorbar_title= "Relative abundance"): PacfmBase.__init__(self, normalized= False, pw_length= pw_length, pw_sequence= pw_sequence, pw_minpath= pw_minpath, pw_key_enzyme= pw_key_enzyme, n_association= n_association, input_file_path= input_file_path, output_figure_path= output_figure_path, output_table_path= output_table_path, output_type= output_type, info_types= info_types, abbreviations_path= abbreviations_path, links_path= links_path, key_enzymes_path=key_enzymes_path, calculation_type= calculation_type, db_name= db_name, colorbar_title= colorbar_title )