Prognostic Pathways Guide Drug Indications in Pan-Cancers