File size: 393 Bytes
d33802b
 
 
 
 
f2f8918
d33802b
f2f8918
 
d33802b
f2f8918
d33802b
f2f8918
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
)