File size: 394 Bytes
e1faa12
 
 
 
 
1bf67c7
e1faa12
f5e48d2
 
 
e3eff5c
e1faa12
1bf67c7
 
 
6b7a66a
 
1bf67c7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import altair as alt
import numpy as np
import pandas as pd
import streamlit as st

from embedding_atlas.streamlit import embedding_atlas

import streamlit as st
st.set_page_config(layout="wide")

df = pd.read_csv("src/phecode_atc_umap.csv", sep=',')

value = embedding_atlas(
    df, text="node_name",
    x="0", y="1", neighbors="neighbors",
    show_table=True,     
    show_charts=False
)