The present analysis revealed that apolipoprotein B and LDL-C mediated the effects of thyroid function on cholelithiasis risk. The gene discussed is COG2; the disease is cholelithiasis.