Skip to content

Commit

Permalink
removed display from motif enrichment
Browse files Browse the repository at this point in the history
  • Loading branch information
HAL9032 committed May 1, 2024
1 parent a51ea2f commit 0498043
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions episcanpy/tools/_enrichment_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from collections import defaultdict

from IPython.display import display
# from IPython.display import display
import matplotlib.pyplot as plt
from mpl_toolkits.axes_grid1 import make_axes_locatable

Expand Down Expand Up @@ -89,10 +89,10 @@ def motif_enrichment(adata, alpha=0.05):
adata.uns["motif_enrichment"]["results"][group] = adata.uns["motif_enrichment"]["results"][group].drop(["group"], axis=1)
adata.uns["motif_enrichment"]["results"][group] = adata.uns["motif_enrichment"]["results"][group].sort_values(by="pval")

for group in adata.uns["motif_enrichment"]["results"]:
print(group)
display(adata.uns["motif_enrichment"]["results"][group])
print("\n")
# for group in adata.uns["motif_enrichment"]["results"]:
# print(group)
# display(adata.uns["motif_enrichment"]["results"][group])
# print("\n")



Expand Down

0 comments on commit 0498043

Please sign in to comment.