R codes for paper entitled 'High-dimensional mediation analysis reveals the relationship between genetic variants, physical activity and AD-like brain atrophy'.
The codes related to physical activity data processing are adapted from https://github.com/andrew-leroux/biobank_accel_processing/tree/master/code.