TPMT activity can be determined through genotyping or phenotyping. Genotyping involves analyzing known genetic variants of the TPMT gene to predict enzyme activity. Phenotyping, on the other hand, measures the actual enzymatic activity in red blood cells. Both methods are valuable, but genotyping provides a direct assessment of genetic predisposition, while phenotyping offers a snapshot of current enzyme activity.