-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Description
Hi, there:
Below are the first few lines of example_ukb_to_bin.ipynb.
labels_file = 'labels.csv'
ukb_field_to_icd10_map_file = 'icd10_codes_mod.tsv'
ubk_basket_tab_file = 'ukb_basket.tab' # file path to ukb basket download .tab format
The first 14 lines for the labels.csv are as below. I wrote them in one line to save space.
Padding, No event, Female, Male, BMI_low, BMI_mid, BMI_high, Smoking_low, Smoking_mid, Smoking_high, Alcohol_low, Alcohol_mid, Alcohol_high, A00 (cholera), A01 (typhoid and paratyphoid fevers).
My own ukb_basket.tab file looks like below. It has all variables including age, sex, bmi, ICD10, etc.
The previous version uses f. as variable names while the current version uses p as prefix.

I did not find the icd10_codes_mod.tsv file.
So, can you please let me know how to run your example_ukb_to_bin.ipynb with my own ukb_basket.tab file?
Thank you & best regards,
Jie
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels