Dogs that are neutered will still usually lift their leg when they go, but it reduces their marking behavior, and in some cases even eliminates it.
The instinct of aggression is also related to male hormones, so when a dog is neutered that trigger is removed.