Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Move NA values to end of table #124

Merged
merged 7 commits into from
Oct 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update compare_diffexp.py
  • Loading branch information
fxwiegand authored Oct 17, 2024
commit 58d7cd5d9462312b1646e3db3c69412891663d1d
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
Loading