The B-cell/IGG signature is a GE pattern strongly associated with TLS across cancer types, even independently of TILs. This signature could serve as a valuable tool for precisely measuring TLS and predicting clinical outcomes and response to immunotherapy in cancer patients.