I'm interested in detecting patterns of introgression across transcriptomes, and was advised to look into D statistics. However, I'm under the impression that these statistics can only be applied to genomes. I have RNA-seq data for closely related species and the corresponding SNPs, and a genome/transcriptome for an outgroup.
Can I use D statistics to test for an excess of shared derived variants using SNPs called from RNA-seq data?
Any info would be very appreciated. Thanks for reading.