Spaces:
Sleeping
Sleeping
File size: 540 Bytes
f67eeb9 774bbad 8f33cca 774bbad 8f33cca f67eeb9 b18f058 8f33cca f67eeb9 8f33cca f67eeb9 8f33cca f67eeb9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
import datasets
import streamlit as st
import numpy as np
import pandas as pd
import altair as alt
top_coexp_hits = datasets.load_dataset(
path = "maomlab/CryptoCEN",
data_files = {"top_coexp_hits": "top_coexp_hits.tsv"})
top_coexp_hits = top_coexp_hits["top_coexp_hits"].to_pandas()
gene_id = st.text_input(
label = "Gene 1",
value = "CNAG_04365-t26_1",
max_chars = 16,
help = "CNAG Gene ID e.g. CNAG_04365-t26_1")
top_coexp_hits = top_coexp_hits[top_coexp_hits.cnag_id_1 == gene_id]
st.table(top_coexp_hits)
|