R/Phecode_definitions.R

#' Phecode definitions
#'
#' A dataset containing Phecode diagnosis categories and their descriptions 
#' 
#'
#' @format A data frame with 1866 obs. and 6 variables:
#' \describe{
#'   \item{phecode}{Phecode code}
#'   \item{phecode_desc}{Description of phecode}
#'   \item{phecode_class}{Class of phecode based on ICD body systems}
#'   \item{phecode_class_number}{Number index of phecode_class}
#'   \item{sex}{gender constraint for each phecode (Male, Female, or Both)}
#'   \item{phecode_exclude_range}{Phecode range to be excluded for case-control analysis}
#' }
#' @source \url{https://phewascatalog.org/files/phecode_definitions1.2.csv.zip}
#' 
#' @seealso \code{\link{Phecode_map}} for ICD code mapping for each Phecode.
#'
"Phecode_definitions"
vcastro/Phecode documentation built on June 14, 2024, 1:33 p.m.