A platform for functional assessment of large variant libraries in mammalian cells