# Knowledge Graphs Constructions and Visualizations

## Documentation for package ‘kgraph’ version 1.2.0

- DESCRIPTION file
- User guides, package vignettes and other documentation

## Help Pages

%$% | Exposition pipe
%<>% | Assignment pipe
%>% | Pipe
build_kgraph | Build a knowledge graph
build_kgraph_from_fit | Build a knowledge graph from a fit object
cov_simi | Covariance similarity
df_cuis_pairs | A dataset containing CUIs pairs
df_embeds_dict | A dictionary for the m_embeds object
df_phecode_pairs | A dataset containing Phecode pairs
df_pval | A dataset containing GWAS p-values
df_pval_dict | A dictionary for the df_pval object
fit_embeds_kg | Fit embeddings to a kgraph object
fit_embeds_to_pairs | Fit embeds to pairs
gen_df_notpairs | Generate null pairs
get_cutoff_threshold | Get cut-off threshold
get_sgraph | Wrapper to build a sgraph object fromk a kgraph object
m_embeds | A dataset containing medical word embeddings
project_pairs | Predict known pairs
reshape_multiple_traits | Reshape multiple traits in example data
reshape_multiple_traits_dict | Reshape multiple traits in example data dictionary
sparse_encode | sparse_encode