Trait-based analysis of fish communities