Domain generalization enables general cancer cell annotation in single-cell and spatial transcriptomics | Synapse