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

src/find_interaction_cluster/__main__.py: add a region parameter

parent c2cfe070
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ def launcher(weight: List[int] = (1),
global_weight: List[int] = (0),
same_gene: bool = True,
ps: int = ConfigGraph.cpu,
html_fig: bool = False, feature: str = 'exon',
html_fig: bool = False, feature: str = 'exon', region: str = '',
logging_level: str = "DISABLE"):
"""
Script used to find communities inside exon co-localized within a project
......@@ -38,6 +38,8 @@ def launcher(weight: List[int] = (1),
same gene (True) or not (False) (default True)
:param html_fig: True to display the html figure (default False).
:param feature: The feature we want to analyse (default 'exon')
:param region: The region of a gene to analyse (used only if feature \
is 'gene') (default '').
:param logging_level: The level of data to display (default 'DISABLE')
"""
logging_def(ConfigGraph.community_folder, __file__, logging_level)
......@@ -49,9 +51,10 @@ def launcher(weight: List[int] = (1),
install_hipmcl("INFO")
multiple_community_launcher(1, weight, global_weight, same_gene, html_fig,
feature, logging_level)
# multiple_stat_launcher(ps, weight, global_weight, same_gene, feature,
# logging_level)
multiple_stat_launcher(ps, weight, global_weight, same_gene, feature,
logging_level)
multiple_nt_lmm_launcher(ps, weight, global_weight, same_gene, feature,
region,
logging_level)
......
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