Skip to main content
. Author manuscript; available in PMC: 2023 Aug 23.
Published in final edited form as: Nat Med. 2023 Mar 23;29(4):828–832. doi: 10.1038/s41591-023-02252-4

Algorithm 1.

DeepGlioma patient-level molecular subgroup prediction

Require: p(y𝓧),τ,ψ,ϵτ=0.5,ψ=1 for DeepGlioma experiments

1: y^mol
2: if p(y=kIDH𝓧)<τ then
3: y^mol ‘Glioblastoma, IDH-wildtype’
4: else if p(y=kIDH𝓧)τ&p(y=k1p19q𝓧)p(y=kATRX𝓧)+ϵ>ψ then
5: y^mol ‘Oligodendroglioma, IDH-mutant, and 1p19q-codeleted’
6: else if p(y=kIDH𝓧)τ&p(y=k1p19q𝓧)p(y=kATRX𝓧)+ϵψ then
7: y^mol ‘Astrocytoma, IDH-mutant’
8: end if
9: return y^mol