The detection of immunological markers is primarily done through immunohistochemistry (IHC). This technique involves the binding of antibodies to specific antigens in the tissue sections, followed by visualization using chromogenic substrates or fluorescent dyes. Another technique used is flow cytometry, which allows for the analysis of cell populations in suspension.