Directed evolution
During in vivo evolution, each cell (usually bacteria or yeast) is transformed with a plasmid containing a different member of the variant library. Only the gene of interest differs between the cells, with all other genes being kept the same.