diff --git a/covid19_drdfm/streamlit/pages/1_Factor_Analysis.py b/covid19_drdfm/streamlit/pages/1_Factor_Analysis.py index f569161..43d6d19 100644 --- a/covid19_drdfm/streamlit/pages/1_Factor_Analysis.py +++ b/covid19_drdfm/streamlit/pages/1_Factor_Analysis.py @@ -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"):