Some vegetables such as onion and garlic are considered tamasic, but western doctors recommend these for their dietary benefits.
That is good. Even in Ayurveda it is said that if you have cholesterol problem you can have onion or garlic, but not as everyday food. Sometimes you can take them for its medicinal value.
If someone goes deep into meditation and they can't come out they are given some onion and garlic, and they immediately come out of meditation. Garlic and onion have the effect of bringing the prana down. It makes you feel a little heavy and grounded sometimes. So for people who are meditating, it is not advised to have onion and garlic every day. Once in a while you can have it.