-
Notifications
You must be signed in to change notification settings - Fork 0
/
utils.R
121 lines (117 loc) · 2.55 KB
/
utils.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
phenotypes <- c(
'Apolipoprotein_A',
'Apolipoprotein_B',
'Calcium',
'Cholesterol',
'HDL_cholesterol',
'IGF_1',
'LDL_direct',
'SHBG',
'Total_bilirubin',
'Triglycerides',
'Urate',
'Mean_corpuscular_volume',
'Platelet_count',
'Mean_platelet_thrombocyte_volume',
'Platelet_crit',
'Standing_height',
'Mean_reticulocyte_volume',
'Platelet_distribution_width',
'Lymphocyte_percentage',
'Neutrophill_count',
'Red_blood_cell_erythrocyte_count',
"Body_mass_index_BMI",
"Glucose",
"Vitamin_D",
"Albumin",
"Total_protein",
"Cystatin_C",
"Gamma_glutamyltransferase",
"Alkaline_phosphatase",
"Creatinine",
"Whole_body_fat_free_mass",
"Forced_expiratory_volume_in_1_second_FEV1",
"Glycated_haemoglobin_HbA1c",
"WHR_Body_mass_index_BMI_corrected",
'LDL_direct_statin_corrected',
'Cholesterol_statin_corrected'
)
phenotypes_deeprvat <- c(
'Apolipoprotein A',
'Apolipoprotein B',
'Calcium',
'Cholesterol',
'HDL cholesterol',
'IGF-1',
'LDL direct',
'SHBG',
'Total bilirubin',
'Triglycerides',
'Urate',
'Mean corpuscular volume',
'Platelet count',
'MPTVS',
'Platelet crit',
'Standing height',
'Mean reticulocyte volume',
'Platelet distribution width',
'Lymphocyte percentage',
'Neutrophill count',
'Erythrocyte count',
"Body mass index BMI",
"Glucose",
"Vitamin D",
"Albumin",
"Total protein",
"Cystatin C",
"Gamma glutamyltransferase",
"Alkaline phosphatase",
"Creatinine",
"Whole body fat free mass",
"Forced expiratory volume in 1 second FEV1",
"Glycated haemoglobin HbA1c",
"WHR Body mass index BMI corrected",
"LDL direct",
"Cholesterol"
)
names(phenotypes_deeprvat) = phenotypes
OLD_PHENOTYPES = c(
"Apolipoprotein_A",
"Apolipoprotein_B",
"Calcium",
"Cholesterol",
"HDL_cholesterol",
"IGF_1",
"LDL_direct",
"SHBG",
"Total_bilirubin",
"Triglycerides",
"Urate",
"Mean_corpuscular_volume",
"Platelet_count",
"Mean_platelet_thrombocyte_volume",
"Platelet_crit",
"Standing_height",
"Mean_reticulocyte_volume",
"Platelet_distribution_width",
"Lymphocyte_percentage",
"Neutrophill_count",
"Red_blood_cell_erythrocyte_count"
)
NEW_PHENOTYPES = c(
"Body_mass_index_BMI",
"Glucose",
"Vitamin_D",
"Albumin",
"Total_protein",
"Cystatin_C",
"Gamma_glutamyltransferase",
"Alkaline_phosphatase",
"Creatinine",
"Whole_body_fat_free_mass",
"Forced_expiratory_volume_in_1_second_FEV1",
# "QTC_interval",
"Glycated_haemoglobin_HbA1c",
# "WHR",
"WHR_Body_mass_index_BMI_corrected"
)