Obstructive sleep apnea and nocturnal hypoxemia are associated with an increased risk of lung cancer.