R/df_phecode_pairs.R

#' A dataset containing Phecode pairs
#' 
#' @description The dataframe provides clinician-curated pairs of related of
#'              medical concepts, useful to evaluate the performance of a
#'              machine learning model. It's an extract of the PrimeKG database
#'              (see vignette for URL).
#' @name df_phecode_pairs
#' @docType data
#' @usage data("df_phecode_pairs")
#' @format A dataframe with 3288 rows and 4 columns.
#' @details 
#' Each row defines a relationship between two Phecodes, along with their textual
#' descriptions.
#' 
NULL

Try the kgraph package in your browser

Any scripts or data that you put into this service are public.

kgraph documentation built on April 12, 2025, 1:42 a.m.