Skip to content

Commit

Permalink
Update short_reads.py
Browse files Browse the repository at this point in the history
Fixed typo, line 197
  • Loading branch information
lkondratova authored May 13, 2024
1 parent 909f096 commit 4036486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utilities/short_reads.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def get_ratio_TSS(inside_bed, outside_bed, replicates, chr_order, metric):
if metric == "mean":
ratio_rep_df['return_ratio'] = ratio_rep_df.mean(axis=1, numeric_only=True, skipna=True)
elif metric == "3quartile":
dratio_rep_df['return_ratio'] = ratio_rep_df.quantile(q=0.75, axis=1, numeric_only=True, skipna=True)
ratio_rep_df['return_ratio'] = ratio_rep_df.quantile(q=0.75, axis=1, numeric_only=True, skipna=True)
elif metric == "max":
ratio_rep_df['return_ratio'] = ratio_rep_df.max(axis=1, numeric_only=True, skipna=True)
elif metric == "median":
Expand Down

0 comments on commit 4036486

Please sign in to comment.