diff --git a/src/find_interaction_cluster/nt_and_community.py b/src/find_interaction_cluster/nt_and_community.py index a899ebacebbc8e6656cbd03ff3772f3e2809f911..9046ae96d4159f1fec2647201cde512f5c9e23c3 100644 --- a/src/find_interaction_cluster/nt_and_community.py +++ b/src/find_interaction_cluster/nt_and_community.py @@ -407,7 +407,7 @@ def get_stat_nt_communities(df: pd.DataFrame, project: str, weight: int, global_weight, same_gene, feature, f"{nt}_stat_{test_type}.txt", - "sf_community_enrichment") + "community_enrichment") nfolder = outfile.parent / "nt_analysis" nfolder.mkdir(exist_ok=True, parents=True) noutfile = nfolder / outfile.name @@ -420,7 +420,7 @@ def get_stat_nt_communities(df: pd.DataFrame, project: str, weight: int, same_gene, feature, f"{nt}_VS_CTRL_stat_" f"{test_type}.txt", - "sf_community_enrichment") + "community_enrichment") if test_type == "lmm": rdf = lmm_with_ctrl(df, feature, region, nt, outfile) else: @@ -537,7 +537,7 @@ def multiple_nt_lmm_launcher(ps: int, for project, weight, nt in condition: nfile_table = ConfigGraph.get_community_file( project, weight, global_weight, same_gene, feature, - f"_nt_table.txt", "sf_community_enrichment") + f"_nt_table.txt", "community_enrichment") df.to_csv(nfile_table, sep="\t", index=False) args = [df, project, weight, global_weight, same_gene, nt, df_ctrl, dic_com, feature, region, test_type, iteration] @@ -551,7 +551,7 @@ def multiple_nt_lmm_launcher(ps: int, global_weight, same_gene, feature, f"lmm-nt_stat.txt", - "sf_community_enrichment") + "community_enrichment") nfolder = outfile.parent / "nt_analysis" noutfile = nfolder / outfile.name fdf.to_csv(noutfile, sep="\t", index=False)