HLA typing is typically done through blood tests or cheek swabs. The sample is then analyzed in a lab to identify the specific HLA alleles. These alleles are compared between the donor and recipient to determine compatibility. Advanced techniques like Next-Generation Sequencing (NGS) can provide a more detailed and accurate analysis of HLA types.