plot_disease_timeline_by_source: data source trajectory over time

plot_disease_timeline_by_sourceR Documentation

data source trajectory over time

Description

Given a phenotype definition and list of data-tables with events stratified by sources, plot the case growth over time by sources

Usage

plot_disease_timeline_by_source(
  definition,
  lst.data,
  df.data.settings,
  vct.identifiers
)

Arguments

lst.data

list of data table with all episode data

df.data.settings

data frame containing data settings

vct.identifiers

character vector listing the identifiers in the cohort. This is used to define controls if reference_date is not given

definitions

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

Value

ggplot object


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