How species evolve collectively: implications of gene flow and selection for the spread of advantageous alleles | Synapse