ukb_info | R Documentation |
A tools4ukbb function Function output: output of the dx_date, dx_age, and dx_hx functions (either subsetted or attached to the original phenotype dataframe)
ukb_info(icd_list, dataframe, disease_name, combined, ...)
icd_list |
a list of the icd10 codes you wish to investigate |
dataframe |
the originial phenotype dataframe containing all individuals in the ukbiobank (~500,000 cols x 18,000 rows as of 09/07/2021) |
disease_name |
a string containing the name of the disease(s) of interest |
combined |
this column indicates if you would like to recieve the requested column(s) joined with the whole phenotype dataframe (TRUE) or the subsetted, dx_positive, dataframe (FALSE) |
requested |
the columns requested. Strings containing "date" will call the dx_date function; "age", the dx_age function; and, "hx", the dx_hx function. Therefore, "datehx", "dataandhx" and "date_hx" will all call the dx_date and dx_age functions. |
ukb_info()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.