Analysis of a "phase transition" from tumor growth to latency