Molecular subtypes are typically determined using immunohistochemistry (IHC) to test for the presence of ER, PR, HER2, and Ki-67. In some cases, gene expression profiling methods such as PAM50 or Oncotype DX are used to provide a more detailed classification.