Skip to content

Commit

Permalink
add colors, dc
Browse files Browse the repository at this point in the history
  • Loading branch information
dcolinmorgan committed Oct 17, 2023
1 parent cc73870 commit 83f37a1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/python/views/demo_00_funcoup/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,15 +162,13 @@ def sidebar_area():
@st.cache_data
def run_filters(edges_df,umap_type=False):

filtered_edges_df = edges_df
filtered_edges_df = filtered_edges_df.replace({'ENSG00000':''},regex=True)
filtered_edges_df.columns=filtered_edges_df.columns.str.split(':').str[1]
edges_df.columns=edges_df.columns.str.split(':').str[1]

# include viz generation as part of cache
url = plot_url(filtered_edges_df,umap_type)
url = plot_url(edges_df,umap_type)

return {
'edges_df': filtered_edges_df,
'edges_df': edges_df,
'url': url
}

Expand Down

0 comments on commit 83f37a1

Please sign in to comment.