Lets compare vitamin content per 100 grams of Yam vs Tomatoes:
Raw Yam has 3 times more Vitamin B1, 1.7 times more Vitamin B2, 3.5 times more Vitamin B5, 3.7 times more Vitamin B6, 1.5 times more Vitamin B9 and 1.2 times more Vitamin C than Raw Ripe Red Tomatoes.
While Raw Ripe Red Tomatoes contain 6 times more Vitamin A, 1.5 times more Vitamin E and 3.4 times more Vitamin K than Raw Yam.
Both Raw Yam and Raw Ripe Red Tomatoes have similar amounts of Vitamin B3 per 100 g.
Both Raw Yam as well as Raw Ripe Red Tomatoes have insufficient amounts of Vitamin B12 and Vitamin D in 100 g.
Comparing minerals per 100 grams for Yam vs Tomatoes:
Raw Yam has 1.7 times more Calcium, 3 times more Copper, 2 times more Iron, 1.9 times more Magnesium, 3.5 times more Manganese, 2.3 times more Phosphorus, 3.4 times more Potassium, more Selenium and 1.4 times more Zinc than Raw Ripe Red Tomatoes.
While Raw Ripe Red Tomatoes contain 1.4 times more Water than Raw Yam.
Comparison of macro-nutrients per 100 grams:
Raw Yam has 6.6 times more Energy, 7.2 times more Carbohydrate, 3.4 times more Fiber and 1.7 times more Protein than Raw Ripe Red Tomatoes.
While Raw Ripe Red Tomatoes contain 5.3 times more Sugars than Raw Yam.
Both Raw Yam as well as Raw Ripe Red Tomatoes have insufficient amounts of Fat, Omega 3, Omega 6, Cholesterol, Glucose and Sucrose in 100 g.