To summarize, four factors were associated with the QOL in cancer patients: metastases, OPRM1 SNP, age, and gender. Here, OPRM1 is linked to cancer.