Genetic analysis can guide treatment decisions, such as the use of targeted therapies and immunotherapies. For example, identifying an EGFR mutation in lung cancer can lead to the use of EGFR inhibitors, while detecting a PD-L1 expression can indicate the potential benefit of immune checkpoint inhibitors.