A gene that is capable of causing the transformation of normal cells into cancer cells.