Applications of Coalescent Theory to Introgression Inference and Analysis of Genomic Studies of Sex and Sexuality