diff --git a/src/find_interaction_cluster/clip_figures/__main__.py b/src/find_interaction_cluster/clip_figures/__main__.py index a013ae68cfd5aabc3a0b0cd23474d43b9d3eccf8..17a63fa0e72b83d24663dcbca2be2caf7d32c62a 100644 --- a/src/find_interaction_cluster/clip_figures/__main__.py +++ b/src/find_interaction_cluster/clip_figures/__main__.py @@ -17,7 +17,7 @@ def clip_analysis(clip_folder: str, weight: int, global_weight: int, same_gene: bool = True, feature: str = "exon", project: str = "GSM1018963_GSM1018964", - test_type: str = "permutation", + test_type: str = "permutation", iteration: int = 10000, logging_level: str = "DEBUG") -> None: """ Create the final figure @@ -33,14 +33,18 @@ def clip_analysis(clip_folder: str, weight: int, :param clip_folder: A folder containing clip file :param test_type: The kind of test to perform for frequency analysis. \ (default 'lm') (choose from 'lm', 'permutation') + :param iteration: The number of iteration :param logging_level: The level of data to display (default 'DISABLE') :return: The final dataframe that can be used to create clip figures """ clip_folder = Path(clip_folder) + if test_type == "lm": + raise NotImplementedError("test_type for lm is not implemented !") if not clip_folder.is_dir(): raise NotADirectoryError(f"{clip_folder} is not an existing directory") clip_folder_analysis(clip_folder, project, weight, global_weight, - same_gene, feature, test_type, logging_level) + same_gene, feature, test_type, iteration, + logging_level) clip_analysis() \ No newline at end of file