Immunological tumor heterogeneity and diagnostic profiling for advanced and immune therapies