Regarding homosexuality and other sexual perversions, the Laws of Nature and Nature's God had already been informed to us long ago through God's Word:
26For this cause God gave them up unto vile affections: for even their women did change the natural use into that which is against nature: 27And likewise also the men, leaving the natural use of the woman, burned in their lust one toward another; men with men working that which is unseemly, and receiving in themselves that recompence of their error which was meet. (Romans 1:26-27)
Notice that Paul the Apostle writes to the Romans about "natural affection". Here, he is indicating that God's design for each human being, their default natural position de naturis (literally, "from birth") is that a man is designed for sexual relations with a woman, and a woman is designed for sexual relations with a man.
Indeed, human beings are born for sexual relations with the opposite sex, not for "vile affections" with the same sex.
Human science and scholarship is always lagging behind God's revelation, but eventually man does arrive at understanding what God had already made plain to the world through revelation in His Word.
"The largest study to date on the genetic basis of sexuality has revealed five spots on the human genome that are linked to same-sex sexual behaviour — but none of the markers are reliable enough to predict someone’s sexuality.
"The findings, which are published on 29 August in Science and based on the genomes of nearly 500,000 people, shore up the results of earlier, smaller studies and confirm the suspicions of many scientists: while sexual preferences have a genetic component, no single gene has a large effect on sexual behaviours.