Spaces:
Sleeping
Sleeping
Commit
·
c668013
1
Parent(s):
10fa3a9
Update app.py
Browse files
app.py
CHANGED
@@ -61,10 +61,13 @@ A machine learning pipeline for predicting disease-causing genes post-genome-wid
|
|
61 |
collect_genes = lambda x : [str(i) for i in re.split(",", x) if i != ""]
|
62 |
|
63 |
input_genes = st.text_input("List of HGNC Genes (enter comma separated)")
|
64 |
-
gene_list = st.write(collect_genes(input_genes))
|
65 |
-
|
66 |
-
|
67 |
-
|
|
|
|
|
|
|
68 |
|
69 |
st.markdown("""
|
70 |
Total Gene Prioritisation Results:
|
|
|
61 |
collect_genes = lambda x : [str(i) for i in re.split(",", x) if i != ""]
|
62 |
|
63 |
input_genes = st.text_input("List of HGNC Genes (enter comma separated)")
|
64 |
+
#gene_list = st.write(collect_genes(input_genes))
|
65 |
+
gene_list = collect_genes(input_genes)
|
66 |
+
if gene_list:
|
67 |
+
df = df_total[df_total.index.isin(gene_list)]
|
68 |
+
st.dataframe(df)
|
69 |
+
else:
|
70 |
+
pass
|
71 |
|
72 |
st.markdown("""
|
73 |
Total Gene Prioritisation Results:
|