Other packages > Find by keyword >

kgraph  

Knowledge Graphs Constructions and Visualizations
View on CRAN: Click here


Download and install kgraph package within the R console
Install from CRAN:
install.packages("kgraph")

Install from Github:
library("remotes")
install_github("cran/kgraph")

Install by package version:
library("remotes")
install_version("kgraph", "1.2.0")



Attach the package and use:
library("kgraph")
Maintained by
Thomas Charlon
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2024-09-20
Latest Update: 2025-03-10
Description:
Knowledge graphs enable to efficiently visualize and gain insights into large-scale data analysis results, as p-values from multiple studies or embedding data matrices. The usual workflow is a user providing a data frame of association studies results and specifying target nodes, e.g. phenotypes, to visualize. The knowledge graph then shows all the features which are significantly associated with the phenotype, with the edges being proportional to the association scores. As the user adds several target nodes and grouping information about the nodes such as biological pathways, the construction of such graphs soon becomes complex. The 'kgraph' package aims to enable users to easily build such knowledge graphs, and provides two main features: first, to enable building a knowledge graph based on a data frame of concepts relationships, be it p-values or cosine similarities; second, to enable determining an appropriate cut-off on cosine similarities from a complete embedding matrix, to enable the building of a knowledge graph directly from an embedding matrix. The 'kgraph' package provides several display, layout and cut-off options, and has already proven useful to researchers to enable them to visualize large sets of p-value associations with various phenotypes, and to quickly be able to visualize embedding results. Two example datasets are provided to demonstrate these behaviors, and several live 'shiny' applications are hosted by the CELEHS laboratory and Parse Health, as the KESER Mental Health application <https://keser-mental-health.parse-health.org/> based on Hong C. (2021) <doi:10.1038/s41746-021-00519-z>.
How to cite:
Thomas Charlon (2024). kgraph: Knowledge Graphs Constructions and Visualizations. R package version 1.2.0, https://cran.r-project.org/web/packages/kgraph. Accessed 06 Aug. 2026.
Previous versions and publish date:
(2026-07-09 07:51), 1.0.0 (2024-09-20 16:30), 1.0.1 (2025-02-01 20:40)
Other packages that cited kgraph R package
View kgraph citation profile
Other R packages that kgraph depends, imports, suggests or enhances
Complete documentation for kgraph
Functions, R codes and Examples using the kgraph R package
Full kgraph package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
SAMBA  
Selection and Misclassification Bias Adjustment for Logistic Regression Models
Health research using data from electronic health records (EHR) has gained popularity, but miscla ...
Download / Learn more Package Citations See dependency  
lsmeans  
Least-Squares Means
Obtain least-squares means for linear, generalized linear, and mixed models. Compute contrasts or l ...
Download / Learn more Package Citations See dependency  
TMDb  
Access to TMDb API
Provides an R-interface to the TMDb API (see TMDb API on < ...
Download / Learn more Package Citations See dependency  
RRedshiftSQL  
R Interface to the 'Redshift' Database
Superclasses 'PostgreSQL' connection to help enable full 'dplyr' functionality on 'Redshift'. ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA