This subject matter is also discussed in Star Trek: Voyager's "Good Shepherd" (Season 6, Episode 20).
Captain Janeway goes on an away mission with three troubled crew-members in shuttle.
"Learning Curve" (Season 1, Episode 16) also looks at it to a lesser extent.
Some of the crew of the Maquis ship Val Jean which had become part of the Voyager crew due to the destruction of their own vessel experience problems getting along with the Federation crew. They have to get trained by Tuvok to better operate aboard their new ship. Both crews are stranded on the other side of the Galaxy from Earth, after being abducted by an extra-galactic alien that abducted and medically tortured the crews of Voyager and Val Jean, killing a number of them in the process.