Skip to content

Commit

Permalink
Only sort for the diff exp case
Browse files Browse the repository at this point in the history
  • Loading branch information
pcm32 committed Nov 29, 2024
1 parent 231d870 commit 60d94b0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@
f"{args.method}_pvals": tf_pvals.iloc[0],
}
)
# sort ascending on the p-values
combined_df.sort_values(by=f"{args.method}_pvals", inplace=True)
# sort ascending on the p-values
combined_df.sort_values(by=f"{args.method}_pvals", inplace=True)

# Save the combined dataframe to a file
combined_df.to_csv(args.output + ".tsv", sep="\t")
Expand Down

0 comments on commit 60d94b0

Please sign in to comment.