In Star Trek: Voyager Season 2 Episode 24, "Tuvix", there was an accident that following an away mission to collect some orchid samples. Only one molecular pattern rematerialized, and formed a healthy organism combining everything regarding Tuvok and Neelix, including organs, enzymes, and memories. According to The Doctor, Tuvix also possessed: "...Tuvok's sense of intellectual superiority, and Neelix's annoying ebullience." Despite repairs having just been made to the transporter, no fault could be found in the logs at the time of the accident. The Doctor told Tuvix that it might be many years before he could find a way to separate them – in the meantime, Tuvix was invited to become a member of the crew, and given the rank of Lieutenant.
A month later The doctor figured out a way to reverse the accident.
Tuvix announced that he didn't want to die, feeling that he had just as much right to exist as any other being. He explained to Janeway that while he did care about Tuvok and Neelix (regarding them as his 'parents'), this also gave him the will to live of two men, and he didn't want to die. He pleaded with Kes, among others, to speak to the captain on his behalf.
Captain Janeway pretty much forced him to undergo the procedure to separate the two and essentially killed Tuvix. However, The Doctor refused to perform the procedure; as a physician, he had sworn an oath to do no harm, and he refused to take Tuvix's life, especially against his will. Janeway herself, therefore, performed the process.
Isn't this a violation of Federation Laws? or at the very least a violation of human rights (or alien life rights if you prefer)? its simple people based off what we KNOW of Federation Values and laws and Todays EARTH Laws is this a Violation of Any of the federations values or Earths laws as of today? Could Janeways be held accountable by a court for these actions?