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

src/find_interaction_cluster/clip_figures/__main__.py: add sl_reg parameter

parent c06baf31
No related branches found
No related tags found
No related merge requests found
...@@ -19,9 +19,8 @@ def clip_analysis(clip_folder: str, weight: int = -1, ...@@ -19,9 +19,8 @@ def clip_analysis(clip_folder: str, weight: int = -1,
project: str = "GSM1018963_GSM1018964", project: str = "GSM1018963_GSM1018964",
test_type: str = "permutation", iteration: int = 10000, test_type: str = "permutation", iteration: int = 10000,
display_size: bool=False, display_size: bool=False,
community_file: str = "", community_file: str = "", sl_reg: bool = False,
ps: int = 1, ps: int = 1, logging_level: str = "DEBUG") -> None:
logging_level: str = "DEBUG") -> None:
""" """
Create the final figure. Create the final figure.
...@@ -43,6 +42,8 @@ def clip_analysis(clip_folder: str, weight: int = -1, ...@@ -43,6 +42,8 @@ def clip_analysis(clip_folder: str, weight: int = -1,
:param community_file: A file containing custom communities. If \ :param community_file: A file containing custom communities. If \
it equals to '' then weight, global weight and same genes parameter are \ it equals to '' then weight, global weight and same genes parameter are \
used to find the community files computed with ChIA-PET data. used to find the community files computed with ChIA-PET data.
:param sl_reg: True to display the FaRLine regulation of the \
same factor, False to not display it.
:param ps: The number of processes to create (default 1) :param ps: The number of processes to create (default 1)
:param logging_level: The level of data to display (default 'DISABLE') :param logging_level: The level of data to display (default 'DISABLE')
:return: The final dataframe that can be used to create clip figures :return: The final dataframe that can be used to create clip figures
...@@ -57,7 +58,8 @@ def clip_analysis(clip_folder: str, weight: int = -1, ...@@ -57,7 +58,8 @@ def clip_analysis(clip_folder: str, weight: int = -1,
raise NotADirectoryError(f"{clip_folder} is not an existing directory") raise NotADirectoryError(f"{clip_folder} is not an existing directory")
clip_folder_analysis(clip_folder, project, weight, global_weight, clip_folder_analysis(clip_folder, project, weight, global_weight,
same_gene, feature, test_type, iteration, same_gene, feature, test_type, iteration,
display_size, community_file, ps, logging_level) display_size, community_file, sl_reg, ps,
logging_level)
clip_analysis() clip_analysis()
\ No newline at end of file
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