Quantification of dimethylglycine levels in a sample. The trait is dimethylglycine measurement (Experimental Factor Ontology entry EFO_0010476).