Probabilistic Methods For Inferring The Order Of Pathway Alterations During Carcinogenesis And Cancer Subtype Classification