get_all_events: Get all episodes for a phenotype

get_all_eventsR Documentation

Get all episodes for a phenotype

Description

Given a phenotype and a list of episode data , extract events for this phenotype from all data sources

Usage

get_all_events(
  definition,
  lst.data = lst.data,
  df.data.settings,
  verbose = TRUE
)

Arguments

definition

phenotype/trait specified in definition table (a row in the table)

lst.data

list of data table with all episode data collapsed to 1 datatable

df.data.settings

data frame containing data settings

Value

a data table with all events

Examples

get_all_events(dfDefinitions_processed_expanded[14,],lst.data,df.data.settings)

niekverw/ukbpheno documentation built on Oct. 30, 2023, 9:17 p.m.