Skip to content

Commit

Permalink
Update compare_diffexp.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fxwiegand authored Oct 17, 2024
1 parent 5f8dc17 commit 58d7cd5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions workflow/scripts/compare_diffexp.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def prepare(df):
combined = combined.with_columns(
abs(pl.col(effect_x) - pl.col(effect_y)).alias("difference")
)
print(combined)
combined = (
combined.with_columns(
(-pl.col("pval_min").log(base=10) * pl.col("difference")).alias("pi_value")
Expand All @@ -73,7 +72,6 @@ def prepare(df):
)
.to_pandas()
)
print(combined)
combined.to_csv(snakemake.output[0], sep="\t", index=False)


Expand Down

0 comments on commit 58d7cd5

Please sign in to comment.