The determination of the amount of histone-lysine n-methyltransferase EHMT2 in a sample. The trait is histone-lysine n-methyltransferase EHMT2 measurement (EFO_0020455).