Skip to content
Snippets Groups Projects
Commit 1bb5612d authored by nfontrod's avatar nfontrod
Browse files

src/find_interaction_cluster/__main__.py: add display_size parameter

parent d8c9d672
No related branches found
No related tags found
No related merge requests found
...@@ -31,6 +31,7 @@ def launcher(weight: int = 1, ...@@ -31,6 +31,7 @@ def launcher(weight: int = 1,
html_fig: bool = False, feature: str = 'exon', region: str = '', html_fig: bool = False, feature: str = 'exon', region: str = '',
component_type: str = 'nt', component_type: str = 'nt',
iteration: int = 1000, test_type: str = "lm", iteration: int = 1000, test_type: str = "lm",
display_size: bool = False,
project: str = "GSM1018963_GSM1018964", project: str = "GSM1018963_GSM1018964",
logging_level: str = "DISABLE"): logging_level: str = "DISABLE"):
""" """
...@@ -56,6 +57,8 @@ def launcher(weight: int = 1, ...@@ -56,6 +57,8 @@ def launcher(weight: int = 1,
(only used is global_weight = 0). (only used is global_weight = 0).
:param test_type: The king of test to perform for frequency analysis. \ :param test_type: The king of test to perform for frequency analysis. \
(default 'lm') (choose from 'lm', 'permutation') (default 'lm') (choose from 'lm', 'permutation')
:param display_size: True to display the size of the community. \
False to display nothing. (default False)
:param ps: The number of processes to use :param ps: The number of processes to use
""" """
logging_def(ConfigGraph.community_folder, __file__, logging_level) logging_def(ConfigGraph.community_folder, __file__, logging_level)
...@@ -67,11 +70,12 @@ def launcher(weight: int = 1, ...@@ -67,11 +70,12 @@ def launcher(weight: int = 1,
install_hipmcl("INFO") install_hipmcl("INFO")
multiple_community_launcher(weight, global_weight, project, same_gene, multiple_community_launcher(weight, global_weight, project, same_gene,
html_fig, feature, logging_level) html_fig, feature, logging_level)
multiple_stat_launcher(ps, weight, global_weight, project, same_gene, # multiple_stat_launcher(ps, weight, global_weight, project, same_gene,
feature, logging_level) # feature, logging_level)
multiple_nt_lm_launcher(ps, weight, global_weight, project, multiple_nt_lm_launcher(ps, weight, global_weight, project,
same_gene, feature, region, component_type, same_gene, feature, region, component_type,
test_type, iteration, logging_level) test_type, iteration, display_size,
logging_level=logging_level)
if feature == "gene": if feature == "gene":
# ppi_stat_launcher(weight, global_weight, project, same_gene, # ppi_stat_launcher(weight, global_weight, project, same_gene,
# ConfigGraph.ppi_threshold, iteration, # ConfigGraph.ppi_threshold, iteration,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment