Complex sentence: The male maintains his relationship with the females by grooming them rather than forcing his dominance, in contrast to the society of the hamadryas baboon.
Split into simpler sentences: The male maintains his relationship with the females by grooming them rather than forcing his dominance. This is in contrast to the society of the hamadryas baboon.