This work investigates joint models for genetic association with longitudinal biomarkers and time-to-event outcomes, developing a closed-form sample size formula, using spline functions for robustness against non-linearity, and evaluating validity, sensitivity, and power through simulations and application to genetic data from the Diabetes Control and Complications Trial.