Leptin or melatonin improved Sema4d's role in trabecular bone microstructure, bone production, and repairment of trabecular bone loss in osteoporosis rats. This evidence concerns the gene SEMA4D and osteoporosis.