CDKN1A and cancer: However, in cancer, the functions of p21 depend on the stage and type of cancer.