A comparative study of the functionality and protein quality of a variety of legume and cereal flours