Write function to analyze brain optimality for specific subsets of brain region.