Analysis of vitamin B12