df_embeds_dict | R Documentation |
Dataframe with columns id (for the CUI), desc (textual description), group and color (higher level groups)
data("df_embeds_dict")
A dataframe with 1118 rows and 4 columns.
Each row corresponds to one rowname of m_embeds.
data('m_embeds')
data('df_embeds_dict')
fit_kg = fit_embeds_kg(m_embeds, 'cosine')
target_nodes_idxs = grep('suicide', df_embeds_dict$desc) %>% head(2)
target_nodes = df_embeds_dict$id[target_nodes_idxs]
kg_obj = build_kgraph_from_fit(target_nodes, m_embeds, fit_kg,
df_dict = df_embeds_dict)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.