Rob tells doc, he is in wrong body and he is actually Bob. Wants to get out - diagnosed. Rob tells doc, he is Sally in a wrong body. Chops off his dick - Congratulations, proud tranny!
Trans and gay are different things completely. Gender dysmorphia is a psychological issue. Being gay is just a sexual orientation.