annotate_efo: Annotate diseases with EFO IDs

View source: R/data_loading.r

annotate_efoR Documentation

Annotate diseases with EFO IDs

Description

Attempts to annotate disease names with EFO IDs using the 'epigraphdb' package. Note that the matching is fuzzy and some disease names will have multiple associated EFOs which may differ in definition slightly.

Usage

annotate_efo(dat, column = "outcome")

Arguments

dat

Data.frame of data

column

Column name containing disease names

Value

Data.frame with appended column for EFO IDs


jwr-git/mrpipeline documentation built on Oct. 2, 2022, 3:41 p.m.