Skip to content

Commit

Permalink
Normalize user's input data
Browse files Browse the repository at this point in the history
  • Loading branch information
jvivian committed Jun 10, 2024
1 parent a11f39e commit 49159d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion covid19_drdfm/streamlit/pages/1_Factor_Analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def normalize(df):
ad = ann.read_h5ad(res_dir / "data.h5ad")
new = ad.to_df().reset_index()
new["State"] = ad.obs["State"].to_list()

new = normalize(new)

# Normalize factors and add to new dataframe
if st.sidebar.checkbox("Invert Factor"):
Expand Down

0 comments on commit 49159d3

Please sign in to comment.