Many terms in the literature are used interchangeably in the discussion of gene flow. Several popular terms that are often confused, but sometimes have distinct meanings, are admixture, introgression, and hybridization.
Admixture: A detectable genetic signature of mixed ancestry from one or more distinct lineages. It is a pattern that can be detected. It is possible for two populations to appear admixed even if they have not exchanged genetic material.
Introgression: The exchange of alleles from one or more distinct lineages into another. It is a process that occurs in time. We rarely observe introgression, and therefore we aim to reconstruct introgression events in the past.
hybridization: Successful reproduction between individuals from two distinct lingeages. We often observe hybridization among extant individuals, but further investigation is necessary to determine whether hybridization (e.g., F1s) result in introgression of alleles between lineages.
Methods for detecting admixture within and between populations typically rely on the assumption that existing variation in populations is a result of the sorting of ancestral standing variation in the ancestor of those populations. Therefore it does not account for de novo mutations. Examples include STRUCTURE and TREEMIX.
The software admix-tools is often used to calculate ABBA-BABA scores from genome wide sequence alignments where the value if often measured using a sliding-widow approach along the genome.
Because RAD-seq provides only a subset of the genome the data must be analyzed a little differently than for full genome data.
https://github.com/dereneaton/ipyrad/blob/master/tests/cookbook-abba-baba.ipynb
A more general implementation of the general markov model.
https://github.com/dereneaton/ipyrad/blob/master/tests/phylogenetic_invariants.ipynb