Description Usage Arguments Author(s)
In the UK Biobank (UKBB) diseases are reported based on either in-hospital records (ICD-10 classification system; field id 41270), or based on self-reported diseases (field id 20001 or 20002).
The reported diseases are listed in large matrices where many of the cells are filled with NA's. This utility function enables easy extraction of disease cases based on a vector of ICD-10 codes and/or a vector of self-reported diseases.
This function requires two matrices 'self' and 'icd10', which are matrices with self-reported and ICD-10 diagnoses, where each row correspond to one individual and the columns correspond to the array number (see UKBB showcase for details).
1 |
ICD |
a vector of ICD-10 codes |
SR |
a vector of self-reported disease codes. |
Palle Duun Rohde
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.