Skip to content

Commit

Permalink
Syntax (#26)
Browse files Browse the repository at this point in the history
* Fixing syntax

* Syntax
  • Loading branch information
yaront authored Jan 14, 2025
1 parent 5ad25c3 commit f45e940
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/kinase_library/modules/enrichment.py
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ def plot_3x3_volcanos(dp_data, kin_type, kl_method, kl_thresh, dp_lfc_col, dp_lf

for i,(lfc,pval) in enumerate(zip(dp_lfc_thresh,dp_pval_thresh)):

subfigs[i].suptitle(r'$\bf{' + f'DE\ logFC\ threshold:\ {lfc}' + f'\ /\ DE\ p-value\ threshold:\ {pval}'*(dp_pval_col is not None) + '}$')
subfigs[i].suptitle(r'$\bf{' + f'DE logFC threshold: {lfc}' + f' / DE p-value threshold: {pval}'*(dp_pval_col is not None) + '}$')
ax = subfigs[i].subplots(nrows=1, ncols=3)

print(f'\nLogFC threshold: {lfc}' + f' / p-value threshold: {pval}'*(dp_pval_col is not None))
Expand Down
10 changes: 1 addition & 9 deletions src/notebooks/binary_enrichment.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1234,14 +1234,6 @@
"source": [
"enrich_results.enriched_subs(kinases=['PKCE','PKCH','PKCI'], save_to_excel=True, output_dir='/Users/usr/Desktop/', file_prefix='Phorbol Ester subs')"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "410f47e8-9a62-4164-baeb-3f50ae7c1d59",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand All @@ -1260,7 +1252,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.13"
"version": "3.12.8"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion src/notebooks/differential_phosphorylation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2102,7 +2102,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.13"
"version": "3.12.8"
}
},
"nbformat": 4,
Expand Down

0 comments on commit f45e940

Please sign in to comment.