cause_of_death_table: A tidyUkBioBank function Function output: a table with two...

View source: R/cause_of_death_table.R

cause_of_death_tableR Documentation

A tidyUkBioBank function Function output: a table with two columns: eid and cause of death description, which contains string matching the dscription variable given

Description

A tidyUkBioBank function Function output: a table with two columns: eid and cause of death description, which contains string matching the dscription variable given

Usage

get_cause_of_death_table(description, ukb_data)

Arguments

description

diagnosis of interest (string)

ukb_data

the originial phenotype dataframe containing all individuals in the ukbiobank (~500,000 cols x 18,000 rows as of 09/07/2021)

disease_name

string with disease name

Examples

get_cause_of_death_table()

Lab-Jaiswal/tidyUkBioBank documentation built on Sept. 10, 2023, 5:13 p.m.