An altered gene that encodes a protein which can induce cancer. It creates an environment for cancer or a malignant tumor cell to grow.