Cellular adaptation to cancer therapy along a resistance continuum