The USDA Food Patterns classify beans and peas as a subgroup of the Vegetable Group. The USDA Food Patterns also indicate that beans and peas may be counted as part of the Protein Foods Group. Individuals can count beans and peas as either a vegetable or a protein food.